On 12 January 2017 at 22:04, Thomas Güttler
<[email protected]> wrote:
> I came across a python library which has docs, which start like this:
>
> {{{
>
>  Quickstart
>
>  Include foolib in your requirements.txt file.
>
> }}}
>
> AFAIK dependencies should be specified via `install_requires` in `setup.py`.

Applications and services don't necessarily have a setup.py file -
setup.py is more for pip-installable libraries and frameworks (see
https://caremad.io/posts/2013/07/setup-vs-requirement/ for more on
that topic).

Since the section is titled "Quickstart", it seems reasonable to gloss
over the fact that there are options other than requirements.txt,
especially as folks that have already gone to the effort of learning
how to make their software pip-installable are also likely to have
worked out how that impacts where you specify your dependencies.

Cheers,
Nick.

-- 
Nick Coghlan   |   [email protected]   |   Brisbane, Australia
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to