You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Corrfunc version: 2.3.2, (likely all versions affected)
platform: OSX (likely all supported OS'es)
installation method (pip/source/other?): pip
Issue description
The files needed for Corrfunc tests are located in theory/tests/ and mocks/tests/. Both these directories and the contained files need to be packaged in the source distribution to allow users to validate their install. However, these two directories are unexpectedly outside of the package root.
Expected behavior
Files should all be contained within package root directory.
Actual behaviour
The theory/ and mocks directory are created directly under site-packages.
What have you tried so far?
Modifying setup.py in all kinds of ways but nothing has succeeded so far.
Note The behaviour is different when installing with python setup.py install. The theory and mocks directories are then installed under site-packages/Corrfunc-<version>-py<ver>-macosx-<osx_ver>-x86_64.egg/.
Minimal failing example
Install Corrfunc with pip and then navigate to the relevant site-packages directory. There will be two directories -- theory/ and mocks/, that should not exist at that level. Uninstalling Corrfunc also leaves behind those two folders (all the contained files are deleted thankfully).
Installing with python setup.py install does not create this spill.
The text was updated successfully, but these errors were encountered:
General information
Issue description
The files needed for Corrfunc tests are located in
theory/tests/
andmocks/tests/
. Both these directories and the contained files need to be packaged in the source distribution to allow users to validate their install. However, these two directories are unexpectedly outside of the package root.Expected behavior
Files should all be contained within package root directory.
Actual behaviour
The
theory/
andmocks
directory are created directly undersite-packages
.What have you tried so far?
Modifying
setup.py
in all kinds of ways but nothing has succeeded so far.Note The behaviour is different when installing with
python setup.py install
. Thetheory
andmocks
directories are then installed undersite-packages/Corrfunc-<version>-py<ver>-macosx-<osx_ver>-x86_64.egg/
.Minimal failing example
Install Corrfunc with
pip
and then navigate to the relevantsite-packages
directory. There will be two directories --theory/
andmocks/
, that should not exist at that level. UninstallingCorrfunc
also leaves behind those two folders (all the contained files are deleted thankfully).Installing with
python setup.py install
does not create this spill.The text was updated successfully, but these errors were encountered: