From: David Schneider Date: Wed, 4 Oct 2017 03:17:09 +0000 (+0200) Subject: create inital wheel support (#158) X-Git-Tag: v0.25~31 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5195f2cdd5e7d589215988a5fe6159b0f9b2695b;p=pyelftools.git create inital wheel support (#158) --- diff --git a/TODO b/TODO old mode 100644 new mode 100755 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 index 0000000..ed8a958 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,5 @@ +[bdist_wheel] +universal = 1 + +[metadata] +license_file = LICENSE diff --git a/setup.py b/setup.py index a86c36e..2b9c32e 100644 --- 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: