forked from ANTS-Framework/ants
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (49 loc) · 1.97 KB
/
setup.py
File metadata and controls
55 lines (49 loc) · 1.97 KB
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
import os
import setuptools
_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(_ROOT, "README.rst")) as f:
long_description = f.read()
with open("bin/ants", "r") as f:
for line in f:
if "__version__ =" in line:
version = line.split(" ")[2].rstrip().replace('"', "")
with open("requirements.txt", "r") as f:
requirements = f.read().splitlines()
setuptools.setup(
name="ants_client",
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=version,
description="ANTS Framework client",
long_description=long_description,
url="https://ants-framework.github.io/",
author=[
"Balz Aschwanden",
"Jan Welker",
"Client Services Team of the University of Basel IT Services",
],
author_email="balz.aschwanden@unibas.ch, jan.welker@unibas.ch",
license="GPLv3",
scripts=["bin/ants", "bin/ants_inventory_ad", "bin/ants_inventory_default"],
classifiers=[
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Topic :: Documentation :: Sphinx",
"Topic :: System :: Systems Administration",
"Programming Language :: Python :: 2.7",
],
keywords="client antsFramework ansible ansiblePull unibas",
packages=["antslib", "antslib.inventory", "antslib.plugins"],
install_requires=requirements,
package_data={
"antslib": ["etc/ants.cfg"],
"antslib.plugins": ["callback/ants_logstash.py"],
},
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*",
)