Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install data #258

Closed
shenek opened this issue Jan 24, 2020 · 1 comment · Fixed by #906
Closed

Install data #258

shenek opened this issue Jan 24, 2020 · 1 comment · Fixed by #906
Labels
enhancement New feature or request

Comments

@shenek
Copy link

shenek commented Jan 24, 2020

Hello,

is it possible to install data into python package?

Using setuptools it would've look like something this:

setup(
    ...
    package_data={"module_name": ["data/*.html"]}
    ...
)
@messense
Copy link
Member

I think with mixed Python/Rust project, if data files are not in .gitignore it's already included in the built package? For pure Rust project I'm not sure if it's worth it to implement this, might be better to just convert to a mixed Python/Rust project.

konstin pushed a commit that referenced this issue May 8, 2022
This also introduces tracing for logging, which is neat because you can e.g. `RUST_LOG=...` at runtime.

Fixes #258
konstin pushed a commit that referenced this issue May 10, 2022
This also introduces tracing for logging, which is neat because you can e.g. `RUST_LOG=...` at runtime.

Fixes #258
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants