summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorScott Bahling <sbahling@suse.com>2020-09-07 17:32:16 +0200
committerScott Bahling <sbahling@suse.com>2020-09-07 17:32:16 +0200
commit688a043ea015d2d66b92c4fd96fc3aa5a90b8f99 (patch)
treee216b97b5cfe557d80b896a68ea6223f721f73e4 /setup.py
parent227641df0c5e5f8425215e7cd9f6bcda946ce443 (diff)
downloadobsapi-688a043ea015d2d66b92c4fd96fc3aa5a90b8f99.tar.gz
obsapi-688a043ea015d2d66b92c4fd96fc3aa5a90b8f99.tar.xz
obsapi-688a043ea015d2d66b92c4fd96fc3aa5a90b8f99.zip
Update versioneer and packaging build configsobsapi-0.2.0
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/setup.py b/setup.py
index bf79cf2..d6416a4 100644
--- a/setup.py
+++ b/setup.py
@@ -9,12 +9,6 @@ import versioneer
PROJECT = 'obsapi'
-versioneer.VCS = 'git'
-versioneer.versionfile_source = '%s/_version.py' % PROJECT
-versioneer.versionfile_build = '%s/_version.py' % PROJECT
-versioneer.tag_prefix = '%s-' % PROJECT # tags are like 1.2.0
-versioneer.parentdir_prefix = '%s-' % PROJECT # dirname like 'myproject-1.2.0'
-
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
@@ -34,6 +28,7 @@ class PyTest(TestCommand):
errno = pytest.main(self.pytest_args)
sys.exit(errno)
+
cmdclass = versioneer.get_cmdclass()
cmdclass['test'] = PyTest
@@ -49,13 +44,13 @@ setup(
'obsapi',
],
license='GPL-2.0',
- classifiers=(
+ classifiers=[
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.7',
- ),
+ ],
install_requires=[
'requests',
'lxml',