mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Set up wheel distribution support
This commit is contained in:
parent
128bda5712
commit
4807e00bff
1
setup.py
1
setup.py
|
@ -45,6 +45,7 @@ version = get_version('rest_framework')
|
|||
|
||||
if sys.argv[-1] == 'publish':
|
||||
os.system("python setup.py sdist upload")
|
||||
os.system("python setup.py bdist_wheel upload")
|
||||
print("You probably want to also tag the version now:")
|
||||
print(" git tag -a %s -m 'version %s'" % (version, version))
|
||||
print(" git push --tags")
|
||||
|
|
Loading…
Reference in New Issue
Block a user