forked from JaviCerveraIngram/connect-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (53 loc) · 1.96 KB
/
setup.py
File metadata and controls
65 lines (53 loc) · 1.96 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
62
63
64
65
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of the Ingram Micro Cloud Blue Connect SDK.
# Copyright (c) 2019 Ingram Micro. All Rights Reserved.
from os.path import abspath, dirname, exists, join
from setuptools import find_packages, setup
try: # for pip >= 10
# noinspection PyProtectedMember,PyPackageRequirements
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
# noinspection PyPackageRequirements,PyUnresolvedReferences
from pip.req import parse_requirements
# noinspection PyTypeChecker
install_reqs = parse_requirements(
join(
dirname(abspath(__file__)),
'requirements',
'sdk.txt',
), session='None')
PACKAGES = find_packages(exclude=['tests*'])
DOC = ''
if exists('README.md'):
DOC = open('README.md', 'r').read()
setup(
name='connect-sdk',
author='Ingram Micro',
version='0.0.0',
keywords='sdk connect connect automation',
packages=PACKAGES,
description='Connect Python SDK',
long_description=DOC,
long_description_content_type='text/markdown',
url='https://github.com/ingrammicro/connect-python-sdk',
license='Apache Software License',
include_package_data=True,
install_requires=[str(ir.req) for ir in install_reqs],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',
],
)