-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
61 lines (54 loc) · 1.64 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
import sys
from pathlib import Path
from runpy import run_path
from setuptools import setup, find_packages
description = 'Library for launching tasks in parallel environment'
try:
with open('README.rst', 'rt') as f:
long_description = f.read()
except Exception:
long_description = description
version_file = Path(__file__).parent / 'jobslib' / 'version.py'
if sys.version_info < (3, 6):
version_file = str(version_file)
version = run_path(version_file)['VERSION']
setup(
name='jobslib',
version=version,
author='Seznam.cz a.s.',
author_email='[email protected]',
description=description,
long_description=long_description,
long_description_content_type='text/x-rst',
license='BSD',
url='https://github.com/seznam/jobslib.git',
project_urls={
'Documentation': 'https://seznam.github.io/jobslib/',
},
classifiers=[
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
],
platforms=['any'],
packages=find_packages(),
zip_safe=True,
install_requires=[
'cached-property',
'colored',
'influxdb',
'objectvalidator',
'python-consul2',
'retrying',
],
entry_points={
'console_scripts': [
'runjob = jobslib.main:main',
]
},
)