6

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.

pbaranski
  • 22,778
  • 19
  • 100
  • 117
  • 1
    This doesn't answer the question but may be an useful reading: https://caremad.io/posts/2013/07/setup-vs-requirement/ (just to see if it's a good idea or not) – drdaeman May 11 '17 at 12:06

1 Answers1

2

Depending on the setup you are using, there is:

See also:

Community
  • 1
  • 1
bufh
  • 3,153
  • 31
  • 36