Recursive dependencies for apt
Project description
apt-deps
========
Recursively resolve package dependencies using apt.
Usage
~~~~~
command line:
.. code-block:: bash
usage: apt-deps [-h] PACKAGES [PACKAGES ...]
Find recursive dependencies of installed package.
positional arguments:
PACKAGES package(s) to resolve dependencies
optional arguments:
-h, --help show this help message and exit
Python:
.. code-block:: python
import apt_deps.get_deps
a = apt_deps.get_deps.DepFinder(['apt', 'nginx-extras'])
print(a.dep_set)
# get a different set of dependencies
a('apache2', 'python')
print(a.dep_set)
Features
~~~~~~~~
It works 60% of the time, every time.
Build
~~~~~
On Ubuntu and Debian systems, you can apt-get install python-apt
If you want to build in a virtualenv, you need to do one of the following:
1) Initiate your virtualenv using site-packages
virtualenv --site-packages
2) Install required system libs and install python-apt from source.
apt-get install g++ gcc libapt-pkg-dev
pip install git+git://anonscm.debian.org/apt/python-apt.git@1.1.0_beta1
========
Recursively resolve package dependencies using apt.
Usage
~~~~~
command line:
.. code-block:: bash
usage: apt-deps [-h] PACKAGES [PACKAGES ...]
Find recursive dependencies of installed package.
positional arguments:
PACKAGES package(s) to resolve dependencies
optional arguments:
-h, --help show this help message and exit
Python:
.. code-block:: python
import apt_deps.get_deps
a = apt_deps.get_deps.DepFinder(['apt', 'nginx-extras'])
print(a.dep_set)
# get a different set of dependencies
a('apache2', 'python')
print(a.dep_set)
Features
~~~~~~~~
It works 60% of the time, every time.
Build
~~~~~
On Ubuntu and Debian systems, you can apt-get install python-apt
If you want to build in a virtualenv, you need to do one of the following:
1) Initiate your virtualenv using site-packages
virtualenv --site-packages
2) Install required system libs and install python-apt from source.
apt-get install g++ gcc libapt-pkg-dev
pip install git+git://anonscm.debian.org/apt/python-apt.git@1.1.0_beta1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
apt_deps-0.1.1.tar.gz
(6.6 kB
view hashes)