Reputation: 24952
Is possible to avoid using pip
and requirements.txt
in favor of just using setup.py
to install missing libraries but not having build all other stuff?
Normally it's looks like (and is run python setup.py install
:
from setuptools import setup, find_packages
setup(
name="HelloWorld",
version="0.1",
packages=find_packages(),
install_requires=['docutils>=0.3'],
)
And I wish to use only install_requires=['docutils>=0.3']
to have those dependencies resolved and avoid all build artifacts.
Upvotes: 6
Views: 10591
Reputation: 3410
Depending on the setup
you are using, there is:
install_requires
with setuptoolsSee also:
Upvotes: 2