forked from cloudblue/apsconnect-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (50 loc) · 1.92 KB
/
setup.py
File metadata and controls
61 lines (50 loc) · 1.92 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
56
57
58
59
60
61
#!/usr/bin/env python
import os
from os.path import abspath, dirname, join
from setuptools import setup
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
install_reqs = parse_requirements(os.path.join(os.path.dirname(os.path.abspath(__file__)),
'requirements.txt'), session='None')
here = abspath(dirname(__file__))
with open(join(here, 'VERSION')) as f:
VERSION = f.read()
setup(
name='apsconnectcli',
author='Ingram Micro',
version=VERSION,
keywords='aps apsconnect connector automation',
extras_require={
':python_version<="2.7"': ['backports.tempfile==1.0']},
packages=['apsconnectcli'],
description='A command line tool for APS connector installation on Odin Automation in '
'the relaxed way.',
url='https://github.com/ingrammicro/apsconnect-cli',
license='Apache Software License',
include_package_data=True,
install_requires=[str(ir.req) for ir in install_reqs],
entry_points={
'console_scripts': [
'apsconnect = apsconnectcli.apsconnect:main',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',
],
)