Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

automagically resolve dependencies during installation #45

Merged
merged 4 commits into from
Sep 24, 2012
Merged

automagically resolve dependencies during installation #45

merged 4 commits into from
Sep 24, 2012

Conversation

aagbsn
Copy link
Contributor

@aagbsn aagbsn commented Sep 21, 2012

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

Allows setuptools to resolve the dependency chain if APAF is
itself a dependency of a project.
Modifies apaf/config.py so that it may be imported before any
dependencies have been installed, e.g. when installing apaf.
@aagbsn
Copy link
Contributor Author

aagbsn commented Sep 21, 2012

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

@mmaker
Copy link
Contributor

mmaker commented Sep 21, 2012

2012/9/21 aagbsn [email protected]

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
Copy link
Contributor

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
Copy link
Contributor Author

aagbsn commented Sep 21, 2012

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

@hellais
Copy link
Contributor

hellais commented Sep 24, 2012

This looks fine and appears to works. Merging.

hellais added a commit that referenced this pull request Sep 24, 2012
automagically resolve dependencies during installation
@hellais hellais merged commit afc0d3f into globaleaks:master Sep 24, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants