globaleaks / APAF

Anonymous Python Application Framework
33 stars 15 forks source link

automagically resolve dependencies during installation #45

Closed aagbsn closed 12 years ago

aagbsn commented 12 years ago

Adds dependencies to setup.py and resolves a catch-22 during installation where an uninstalled dependency blocks installation (in config.py)

aagbsn commented 12 years ago

Is this the pythonic way to do this, though? What purpose does requirements.txt serve? Is it just to list required dependencies?

mmaker commented 12 years ago

2012/9/21 aagbsn notifications@github.com

Is this the pythonic way to do this, though? What purpose does requirements.txt serve?

That's just a file listing each dependency per line, so that they could be installed via the install -r option.

see http://www.pip-installer.org/en/latest/requirements.html for more informations.

ù

fpietrosanti commented 12 years ago

Regarding the automation of build system setup please consider the following issues:

We should have dedicated script/command/minimal procedure to reduce to few minutes the amount of time required to setup build environment to compile an APAF application.

Everything including Python, third party binary libraries, third party applications (Tor, GPG) should be part of automation process.

aagbsn commented 12 years ago

Ah, then this is probably the right way to do it. Thanks!

hellais commented 12 years ago

This looks fine and appears to works. Merging.