apt-deps
Recursively resolve package dependencies using apt.
Installation
On Debian/Ubuntu: pip install apt_deps
Usage
command line:
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 -r, --recommends Include "recommended" packages
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
Metadata
Release files for apt_deps 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| apt_deps-1.2.1.tar.gz | 11.0 kB | Details |
Release files / apt_deps-1.2.1.tar.gz
| Download URL | apt_deps-1.2.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2705500e51000d89f15969caf365a5cd0121d80262b420dd589a8393d7bf8121
|
|
BLAKE2b-256 checksum How to use checksums |
27418756bc23c46468b610c292bd72e0962da23128a25052ed27dcc4187ca788
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |