SciPyCentral
SciPyCentral copied to clipboard
Clean compiled files while uploading package
Need to ignore several files with common extensions from the uploading zip file when user submits is as package.
Common extensions: .pyc, ~,
etc.
Can be done by adding to MANIFEST.in:
prune */__pycache__
global-exclude *.pyc *~ *.bak *.swp *.pyo
This is actually the ZIP file user submits on the website. We basically create a Hg repo, extract zip files into it. During this extraction, we have to ignore these files you mentioned.
Can manifest.in help to do that?
Ah sorry, I misread the issue - never mind my suggestion.
No problem :)