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

Extra pyc files included #406

Open
rmcgibbo opened this issue Jan 1, 2016 · 3 comments
Open

Extra pyc files included #406

rmcgibbo opened this issue Jan 1, 2016 · 3 comments

Comments

@rmcgibbo
Copy link
Contributor

rmcgibbo commented Jan 1, 2016

I just looked at the contents of wget https://anaconda.org/omnia/mdtraj/1.5.1/download/win-32/mdtraj-1.5.1-np110py35_0.tar.bz2, and noticed that it contains a lot of extra pyc files from numpy and Cython that really shouldn't be there.

Lib/site-packages/Cython/Build/__pycache__/Dependencies.cpython-35.pyc
Lib/site-packages/Cython/Build/__pycache__/__init__.cpython-35.pyc
Lib/site-packages/Cython/Compiler/__pycache__/Annotate.cpython-35.pyc
Lib/site-packages/Cython/Compiler/__pycache__/Buffer.cpython-35.pyc
[... etc ...]
@jchodera
Copy link
Member

jchodera commented Jan 1, 2016

Possibly related? conda/conda-build#686

@jchodera
Copy link
Member

jchodera commented Jan 1, 2016

And this: conda/conda-build#715

I added an option to the build section where you can say:

pyc_compilation: False

and it will skip the pyc compilation step.

@rmcgibbo
Copy link
Contributor Author

rmcgibbo commented Jan 1, 2016

I filed conda/conda-build#718. I don't particularly want to turn off generation of all pyc files across the board. We do want the mdtraj's .pyc files. I just don't want to generate and include .pyc files for other packages that aren't part of our project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants