forked from Samsung/Universum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (59 loc) · 1.74 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
66
67
68
69
70
71
from setuptools import setup, find_packages
import universum
def readme():
with open('README.md', encoding="utf-8") as f:
return f.read()
p4 = ('pip>=19', 'p4python>=2019.1')
git = 'gitpython>=3.0.5'
github = (git, 'cryptography', 'pygithub')
vcs = p4 + github
docs = ('sphinx', 'sphinx-argparse', 'sphinx_rtd_theme') # This extra is required for RTD to generate documentation
setup(
name=universum.__title__,
version=universum.__version__,
description='Unifier of Continuous Integration',
long_description=readme(),
long_description_content_type='text/markdown',
author='Ivan Keliukh <[email protected]>, Kateryna Dovgan <[email protected]>',
license='BSD',
packages=find_packages(exclude=['tests', 'tests.*']),
py_modules=['universum'],
python_requires='>=3.6',
install_requires=[
'glob2',
'requests',
'sh',
'lxml',
'typing-extensions',
'ansi2html',
'pyyaml==6.0'
],
extras_require={
'p4': [p4],
'git': [git],
'github': [github],
'docs': [docs],
'test': [
vcs,
docs,
'docker',
'httpretty',
'mock',
'pytest',
'pylint',
'pytest-pylint',
'teamcity-messages',
'pytest-cov',
'coverage',
'mypy',
'types-requests',
'selenium==3.141',
'urllib3==1.26.15', # This is required for selenium-3.141 to work correctly
'types-PyYAML==6.0',
'wheel'
]
},
package_data={'': ['*.css', '*.js']}
)
if __name__ == "__main__":
print("Please use 'sudo pip install .' instead of launching this script")