aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Hickman2013-11-15 15:49:53 +0000
committerGeorge Hickman2013-11-15 15:49:53 +0000
commit4807e00bffc0116630af42b86049f197f8d4fc99 (patch)
tree3aa7c4a62b7fca33b37b55ee5703e97076907fe8
parent128bda5712ef041514c5e2feadef0ad248f33f54 (diff)
downloaddjango-rest-framework-4807e00bffc0116630af42b86049f197f8d4fc99.tar.bz2
Set up wheel distribution support
-rw-r--r--setup.cfg2
-rwxr-xr-xsetup.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 00000000..5e409001
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[wheel]
+universal = 1
diff --git a/setup.py b/setup.py
index adf083cb..96fbc4f4 100755
--- a/setup.py
+++ b/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")