Last active
December 26, 2023 16:34
-
-
Save v-lopez/da8c4aca89021eb9f801 to your computer and use it in GitHub Desktop.
Debian from pip install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#How to generate debian for package foobar | |
# Need to have install pip package stdeb | |
PKG=foobar | |
pip install -d . $PKG | |
tar xfvz $PKG*.tar.gz | |
cd $PKG* | |
python setup.py --command-packages=stdeb.command bdist_deb | |
#Debian is generated within deb_dist directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script doesn't work. Pip don't have "-d" option