create inital wheel support (#158)
authorDavid Schneider <schneidav81@gmail.com>
Wed, 4 Oct 2017 03:17:09 +0000 (05:17 +0200)
committerEli Bendersky <eliben@users.noreply.github.com>
Wed, 4 Oct 2017 03:17:09 +0000 (20:17 -0700)
TODO [changed mode: 0644->0755]
setup.cfg [new file with mode: 0644]
setup.py

diff --git a/TODO b/TODO
old mode 100644 (file)
new mode 100755 (executable)
index 83a27dc..11b0ada
--- a/TODO
+++ b/TODO
@@ -17,14 +17,14 @@ do so in the future.
 Distribution
 ------------
 
-python setup.py build sdist upload
+python setup.py build sdist bdist_wheel upload
 
 Preparing a new release
 -----------------------
 
 * Run 'tox' tests (with '-r' to create new venvs)
 * Make sure new version was updated everywhere appropriate
-* Run ``python setup.py build sdist`` (no 'upload' yet)
+* Run ``python setup.py build sdist bdist_wheel`` (no 'upload' yet)
 * Untar the created ``dist/pyelftools-x.y.tar.gz`` and make sure
   everything looks ok
 * Now build with upload to send it to PyPi
diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..ed8a958
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,5 @@
+[bdist_wheel]
+universal = 1
+
+[metadata]
+license_file = LICENSE
index a86c36e05e15c4b5bc0946d39eab4ba6f160df77..2b9c32ee27717fd80dc6a45bf7a3c2350647b215 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@
 # This code is in the public domain
 #-------------------------------------------------------------------------------
 import os, sys
-from distutils.core import setup
+from setuptools import setup
 
 
 try: