[Distutils] How to specify dependencies in Python

Thomas Güttler guettliml at thomas-guettler.de
Fri Jan 13 07:23:43 EST 2017


Am 12.01.2017 um 13:43 schrieb Nick Coghlan:
> On 12 January 2017 at 22:04, Thomas Güttler
> <guettliml at thomas-guettler.de> 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).

What is an application?

The django project uses this definition: https://docs.djangoproject.com/en/1.10/ref/applications/

I guess you mean something else, if you talk about "application".

What is an application for you?

Regards,
   Thomas Güttler

-- 
Thomas Guettler http://www.thomas-guettler.de/


More information about the Distutils-SIG mailing list