Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Commit

Permalink
Update publish script. wheel does not appear in freeze on Python 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcgibbons committed May 18, 2016
1 parent 310ba63 commit 6e2e64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from rest_framework_swagger import VERSION

if sys.argv[-1] == 'publish':
if os.system("pip freeze | grep wheel"):
if os.system("wheel version"):
print("wheel not installed.\nUse `pip install wheel`.\nExiting.")
sys.exit()
if os.system("pip freeze | grep twine"):
Expand Down

0 comments on commit 6e2e64e

Please sign in to comment.