use setuptools_scm to determine the version
This commit is contained in:
parent
ae28e4ba0f
commit
a060b8ff73
|
@ -17,6 +17,11 @@ include/
|
||||||
*.orig
|
*.orig
|
||||||
*~
|
*~
|
||||||
|
|
||||||
|
.eggs/
|
||||||
|
|
||||||
|
# this file is managed by setuptools_scm
|
||||||
|
_pytest/__init__.py
|
||||||
|
|
||||||
doc/*/_build
|
doc/*/_build
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#
|
|
||||||
__version__ = '2.8.0.dev4'
|
|
3
setup.py
3
setup.py
|
@ -63,7 +63,7 @@ def main():
|
||||||
name='pytest',
|
name='pytest',
|
||||||
description='pytest: simple powerful testing with Python',
|
description='pytest: simple powerful testing with Python',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
version=get_version(),
|
use_scm_version={'write_to': '_pytest/__init__.py'},
|
||||||
url='http://pytest.org',
|
url='http://pytest.org',
|
||||||
license='MIT license',
|
license='MIT license',
|
||||||
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
|
||||||
|
@ -75,6 +75,7 @@ def main():
|
||||||
# the following should be enabled for release
|
# the following should be enabled for release
|
||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
extras_require=extras_require,
|
extras_require=extras_require,
|
||||||
|
setup_requires=['setuptools_scm'],
|
||||||
packages=['_pytest', '_pytest.assertion'],
|
packages=['_pytest', '_pytest.assertion'],
|
||||||
py_modules=['pytest'],
|
py_modules=['pytest'],
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
|
Loading…
Reference in New Issue