Skip to content

Instantly share code, notes, and snippets.

@v-lopez
Last active December 26, 2023 16:34
Show Gist options
  • Save v-lopez/da8c4aca89021eb9f801 to your computer and use it in GitHub Desktop.
Save v-lopez/da8c4aca89021eb9f801 to your computer and use it in GitHub Desktop.
Debian from pip install
#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
@deadln
Copy link

deadln commented Feb 27, 2021

This script doesn't work. Pip don't have "-d" option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment