-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
65 lines (54 loc) · 1.79 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
57
58
59
60
61
62
63
64
65
import os
from setuptools import find_packages, setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
def relative_path(path, base_dir=PACKAGE_ROOT):
return os.path.join(base_dir, path)
requirements = [
'pycryptodomex>=3.6.1;platform_system=="Windows"',
'pycrypto>=2.6.1;platform_system != "Windows"'
]
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries',
]
test_requirements = ['tox>=2.9.1']
setup_requirements = ['setuptools-scm']
def readme():
with open(relative_path('README.rst'), 'r') as f:
return f.read()
setup(
author='Nickolas Fox',
author_email='[email protected]',
url="https://github.com/tarvitz/jenkins-secret",
name='jenkins-utils',
install_requires=requirements,
tests_require=test_requirements,
setup_requires=setup_requirements,
classifiers=classifiers,
description='Jenkins Utils',
long_description=readme(),
keywords='jenkins cipher secret tools utils aes ecb cbc',
python_requires='>=3',
packages=find_packages(),
platforms=['any'],
include_package_data=True,
zip_safe=False,
use_scm_version={
'write_to': 'jenkins/_version.py',
},
entry_points={
'console_scripts': [
'jenkins-secret = jenkins.utils.secret.__main__:execute',
]
},
)