I have the following structure for my Python package:
$ tree -d | grep -v "__pycache__" . ├── src │ ├── poliastro │ │ ├── iod │ │ ├── tests │ │ └── twobody │ │ └── tests ├── setup.py └── MANIFEST.in 47 directories
Buf after executing python setup.py build , the test internal directory is not copied:
$ tree -d | grep -v "__pycache__" . ├── build │ ├── lib │ │ └── poliastro │ │ ├── iod │ │ ├── tests │ │ └── twobody
Conversely, python setup.py sdist working correctly.
So far, I have used the MANIFEST.in rules to include or exclude certain files, patterns, and directories from sdist. Is there a way to control what goes to the build directory? Why do some tests get there and some others not?
Link to the source version and source code: https://github.com/poliastro/poliastro/issues/129
source share