I have all the eggs that my project requires prior download in the directory, and I would like setuptools to install only packages from this directory.
In my setup.cfg , I have:
[easy_install] allow_hosts = None find_links = ../../setup
I run python setup.py develop and it finds and installs all the packages correctly.
For testing, I have an additional requirement specified in setup.py .
tests_require=["pinocchio==0.2"],
This egg is also located locally in the ../../setup directory.
I run python setup.py test and it sees the dependency and finds the egg perfectly in ../../setup . However, the egg is installed in my current directory instead of the site-packages directory with the rest of the eggs.
I tried to specify install-dir both in setup.cfg and on the command line, and none of them worked for the tests command.
I could just add the dependency to the install_requires section, but I would like to keep what is required for the installation, and tests, if possible, if possible.
How to save the dependency in the tests_require section, but install it in the site-packages directory?
python setuptools
amrox
source share