Created
February 24, 2014 18:52
-
-
Save jordansissel/9194469 to your computer and use it in GitHub Desktop.
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
mkdir /tmp/example | |
pip install -d /tmp/example flask | |
for i in *.tar.gz; do | |
tar -zxf $i | |
fpm -s python -t rpm ${i%%.tar.gz} | |
done | |
ls *.rpm | |
---- | |
python-flask-0.10.1-1.noarch.rpm python-markupsafe-0.18-1.x86_64.rpm | |
python-itsdangerous-0.23-1.noarch.rpm python-werkzeug-0.9.4-1.noarch.rpm | |
python-jinja2-2.7.2-1.noarch.rpm | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment