python - How to install prerequisites for running setup.py in setuptools? -
setuptools.setup
offers install_requires
argument. specified packages installed @ end of setup.py
. seems there're other requirements sections (tests_require
, requirements
). didn't find info on latter because help(setuptools.setup)
doesn't contain useful information it's arguments. checked source of distutils.distribution
distutils/dist.py
, doesn't contain useful documentation (one might - @ all).
i know setuptools isn't self-bootstrapping (like e.g. maven). want make sure i'm not missing something.
i can imagine straightforward workarounds installating pip
, subprocress.*
functions. i'm looking declarative solution.
maybe need setup_requires
parameter: building , distributing packages setuptools
Comments
Post a Comment