pbaranski
pbaranski

Reputation: 25062

Python setup.py only for installation required packages

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: 10633

Answers (1)

bufh
bufh

Reputation: 3420

Depending on the setup you are using, there is:

See also:

Upvotes: 2

Related Questions