Exclude single source file from python bdist_egg or bdist_wheel
问题 Background: I have one source file which is responsible for security. In there are magic keys and specific algorithms. Is it possible to remove a this single source file from a python egg or wheel package? I already accomplished to ship only binarys with the the egg command. python setup.py bdist_egg --exclude-source-files Edit Project structure: ├── setup.py ├── src | ├── __init__.py | ├── file1.py | ├── file2.py | ├── file_to_exclude.py Thanks for your help! 回答1: Unfortunately, neither