clean up setup.py and use setuptools_scm

This commit is contained in:
Ronny Pfannschmidt
2015-08-18 08:29:23 +02:00
parent ec89a3c36b
commit eba5319fdb
2 changed files with 15 additions and 15 deletions

View File

@@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="pytest-xdist",
version='1.13.dev1',
use_scm_version={'write_to': 'xdist/_version.py'},
description='py.test xdist plugin for distributed testing and loop-on-failing modes',
long_description=open('README.txt').read(),
license='MIT',
@@ -19,7 +19,8 @@ setup(
],
},
zip_safe=False,
install_requires = ['execnet>=1.1', 'pytest>=2.4.2', 'py>=1.4.22'],
install_requires=['execnet>=1.1', 'pytest>=2.4.2', 'py>=1.4.22'],
setup_requires=['setuptools_scm'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

View File

@@ -1,2 +1 @@
#
__version__ = '1.13.dev1'
from xdist._version import version as __version__