create wheel, interact with pypi via twine, bump version

This commit is contained in:
Tobias Oberstein 2016-04-09 23:37:37 +02:00
parent 6e6f425c94
commit b9520136d3
4 changed files with 7 additions and 4 deletions

View File

@ -49,5 +49,5 @@ clean:
# publish to PyPI
publish: clean
python setup.py register
python setup.py sdist upload
python setup.py sdist bdist_wheel
twine upload dist/*

2
setup.cfg Normal file
View File

@ -0,0 +1,2 @@
[bdist_wheel]
universal=1

View File

@ -28,7 +28,7 @@ from __future__ import absolute_import
import sys
import platform
from setuptools import setup, find_packages
from setuptools import setup
CPY = platform.python_implementation() == 'CPython'
PY3 = sys.version_info >= (3,)
@ -78,6 +78,7 @@ extras_require_dev = [
'sphinx_rtd_theme>=0.1.9', # BSD
'tox>=2.1.1', # MIT
'mock==1.3.0', # BSD
'twine>=1.6.5', # Apache 2.0
]
# everything

View File

@ -1 +1 @@
__version__ = u'2.3.0'
__version__ = u'2.3.1'