forked from argoproj-labs/argo-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (41 loc) · 1.41 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from pathlib import Path
from setuptools import setup
from setuptools import find_packages
HERE = Path(__file__).parent
ABOUT = dict()
exec(Path(HERE, "argo/workflows/client", "__about__.py").read_text(), ABOUT)
DEVELOPMENT_STATUS = "3 - Alpha"
README: str = Path(HERE, "README.md").read_text(encoding="utf-8")
REQUIREMENTS: list = Path(HERE, "requirements.txt").read_text().splitlines()
setup_args = dict(
name=ABOUT["__title__"],
version=ABOUT["__version__"],
author=ABOUT["__author__"],
author_email=ABOUT["__email__"],
url=ABOUT["__uri__"],
license=ABOUT["__license__"],
description=ABOUT["__summary__"],
long_description=README,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: %s" % DEVELOPMENT_STATUS,
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development",
"Topic :: Utilities",
],
packages=[
"argo.%s" % p for p in find_packages(where="argo/")
],
zip_safe=False,
install_requires=REQUIREMENTS,
)
if __name__ == "__main__":
setup(**setup_args)