Closed indiajoe closed 4 years ago
Hi Joe, might that be because the latest version on pip is 0.2.2.1, whereas the unit tests were added in 0.2.3?
Yes, we ran into this problem when we tried to install the latest version from github directly. The version on PyPi might be fine.
Currently the module barrycorrpy.tests is missing in the setup.py file. This has to be added to the packages list.
packages=['barycorrpy','barycorrpy.tests'],
Otherwise, pip will not install the sub module while package is installed directly. This will result in a
ModuleNotFoundError: No module named 'barycorrpy.tests'
error while trying to import barrycorpy.