From 5195f2cdd5e7d589215988a5fe6159b0f9b2695b Mon Sep 17 00:00:00 2001 From: David Schneider Date: Wed, 4 Oct 2017 05:17:09 +0200 Subject: [PATCH] create inital wheel support (#158) --- TODO | 4 ++-- setup.cfg | 5 +++++ setup.py | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) mode change 100644 => 100755 TODO create mode 100644 setup.cfg 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: -- 2.30.2