Skip to content

Instantly share code, notes, and snippets.

@stuaxo
Last active December 25, 2015 23:46
Show Gist options
  • Save stuaxo/9ea405006f389564a363 to your computer and use it in GitHub Desktop.
Save stuaxo/9ea405006f389564a363 to your computer and use it in GitHub Desktop.
generate pubsub debs
#!/bin/bash
mkdir stdeb-pubsub
pushd stdeb-pubsub
virtualenv env
git clone https://github.com/nehz/pubsub
pushd pubsub
../env/bin/pip install stdeb
../env/bin/python setup.py --command-packages=stdeb.command sdist_dsc --with-python2=True --with-python3=True --no-python2-scripts=True bdist_deb
popd
popd
echo "deb files:"
find . | grep '\.deb$'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment