Skip to content

Instantly share code, notes, and snippets.

@marc-hanheide
Last active April 14, 2016 09:56
Show Gist options
  • Save marc-hanheide/0c179ff8d84e38f3ba8d to your computer and use it in GitHub Desktop.
Save marc-hanheide/0c179ff8d84e38f3ba8d to your computer and use it in GitHub Desktop.
create debian package the easy way

Based on https://github.com/jordansissel/fpm/wiki/ConvertingPython

For Twython, I did this:

fpm -s python -t deb --python-package-name-prefix python-strands oauthlib
fpm -s python -t deb -v 2.1.0 --python-package-name-prefix python-strands requests
fpm -s python -t deb -v 0.4.0 --python-package-name-prefix python-strands  requests-oauthlib
fpm -s python -t deb --python-package-name-prefix python-strands  twython 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment