Make egg dependency information available for Debian packaging
Project description
Tools for introspecting egg dependency information and providing the resulting data to Debian packaging tools.
This package provides a script pydebdep which introspects an installed .egg-info to extract egg dependency information. The package names are converted to their debian equivilant and the dependency information is printed in the format of a dpkg “Depends:” line.
Usage
To extract the dependency info of this package, one can:
$ python2.4 setup.py build $ PYTHONPATH=./src python2.4 pydebdep --depends --egg_info src/vanguardistas.pydebdep.egg-info python-setuptools, python-vanguardistas
This information is then used in a debian/rules file. Included in this package (in the rules directory) are debian/rules files for simple situations. They are generic, and work for a lot of packages. But if they don’t work for yours, make your own.
They can be used in a debian/rules file as follows:
#!/usr/bin/make -f EGG_NAME=vanguardistas.pydebdep PACKAGE=python-vanguardistas.pydebdep DEB_SETUPTOOLS=pydebdep include /usr/lib/python-vanguardistas.pydebdep/rules/rules.1
Future Development
Er, there shouldn’t be much, unless someone finds something big.
Mostly what should change is the mapping of setuptools names to debian package names as more are added.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for vanguardistas.pydebdep-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f06c6478546594b95f05446435b04a9109e938b5d8d943b16344986685ae1c2a |
|
MD5 | d828248befcbb4d80f31afe8e540f6e2 |
|
BLAKE2b-256 | c276e12e87d40c99ee711bdcdbc784dca87f7f25aec64ea7c7204068a1c5405d |