In a crusade to make my application pip
-installable, I'm fighting big fights with setuptools
and distribute
. I assume my dependencies are correct, i.e. installing with pip install myapp
should probably fill the virtual environment correctly. However, I'd like to streamline development while I'm at it, so my goal is to start with an empty virtualenv
and make setup.py test
(and later setup.py develop
, but that's a whole different fight) fill it with all defined dependencies.
And now to my problem: no matter how hard I try, all I get are dependencies installed as .egg
s in my project directory which is sub-optimal at the very least. I tried creating a new setuptools
command which would use pip
(which seems to work, even though awkwardly) but that can't seriously be the solution (subclassing and overriding that is).
So how do I make setup.py test
fill the virtualevn
instead of my working directory?
python setup.py develop
command to the question? When I run that within a virtualenv, it installs dependencies to my virtualenv. – Varelatests_requires
dependencies. – Jesus