You can generate binary packages (wheels in python jargon) of all dependencies with pip wheel -r requirements --wheel-dir=wheels Create the wheel for the package with python setup bdist_wheel --dist-dir=wheels Then install them using pip install wheels/*.whl.
Hopefully PyPA will normalize the dependency and packaging situation over time, they've already made good progress with pip and pypi.org
I swear that at no point I came across anyone saying you could make all dependencies into a wheel or egg. This seems to do half of what I want (at least it's the harder half), as I'd still need to manually add my own project wheel to the one that is created, as it's not available on pypi.
1
u/undu May 01 '18 edited May 01 '18
You can generate binary packages (wheels in python jargon) of all dependencies with
pip wheel -r requirements --wheel-dir=wheelsCreate the wheel for the package withpython setup bdist_wheel --dist-dir=wheelsThen install them usingpip install wheels/*.whl.Hopefully PyPA will normalize the dependency and packaging situation over time, they've already made good progress with pip and pypi.org