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

Commit 6e2e64e

Browse files
committed
Update publish script. wheel does not appear in freeze on Python 3.
1 parent 310ba63 commit 6e2e64e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from rest_framework_swagger import VERSION
66

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

0 commit comments

Comments
 (0)