This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
56 lines (48 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
# encoding: utf-8
from sys import version_info
from setuptools import setup
classifiers = [
'Environment :: Console',
'Topic :: Utilities',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
#'Development Status :: 6 - Mature',
#'Development Status :: 7 - Inactive',
]
requires = [
'jenkins-webapi>=0.5.0',
'lxml>=3.2.3',
'ruamel.yaml>=0.10.15',
]
if version_info <= (2, 7):
requires.append('ordereddict>=1.1')
scripts = [
'jenkins-makejobs-git = jenkins_autojobs.git:_main',
'jenkins-makejobs-svn = jenkins_autojobs.svn:_main',
'jenkins-makejobs-hg = jenkins_autojobs.hg:_main',
]
kw = {
'name': 'jenkins-autojobs',
'version': '0.17.4',
'description': 'Scripts for automatically creating Jenkins jobs from SCM branches',
'long_description': open('README.rst').read(),
'author': 'Georgi Valkov',
'author_email': '[email protected]',
'license': 'Revised BSD License',
'keywords': 'jenkins git mercurial svn subversion',
'classifiers': classifiers,
'url': 'https://github.com/gvalkov/jenkins-autojobs',
'packages': ['jenkins_autojobs'],
'entry_points': {'console_scripts': scripts},
'install_requires': requires,
'tests_require': ['pytest'],
'zip_safe': False,
}
if __name__ == '__main__':
setup(**kw)