forked from optimizely/python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (51 loc) · 2.18 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
import os
from setuptools import setup
from setuptools import find_packages
here = os.path.join(os.path.dirname(__file__))
__version__ = None
with open(os.path.join(here, 'optimizely', 'version.py')) as _file:
exec(_file.read())
with open(os.path.join(here, 'requirements', 'core.txt')) as _file:
REQUIREMENTS = _file.read().splitlines()
with open(os.path.join(here, 'requirements', 'test.txt')) as _file:
TEST_REQUIREMENTS = _file.read().splitlines()
TEST_REQUIREMENTS = list(set(REQUIREMENTS + TEST_REQUIREMENTS))
with open(os.path.join(here, 'README.md')) as _file:
README = _file.read()
with open(os.path.join(here, 'CHANGELOG.md')) as _file:
CHANGELOG = _file.read()
about_text = (
'Optimizely X Full Stack is A/B testing and feature management for product development teams. '
'Experiment in any application. Make every feature on your roadmap an opportunity to learn. '
'Learn more at https://www.optimizely.com/products/full-stack/ or see our documentation at '
'https://docs.developers.optimizely.com/full-stack/docs.'
)
setup(
name='optimizely-sdk',
version=__version__,
description='Python SDK for Optimizely X Full Stack.',
long_description=about_text + README + CHANGELOG,
long_description_content_type='text/markdown',
author='Optimizely',
author_email='developers@optimizely.com',
url='https://github.com/optimizely/python-sdk',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'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',
'Programming Language :: Python :: 3.8',
],
packages=find_packages(exclude=['docs', 'tests']),
extras_require={'test': TEST_REQUIREMENTS},
install_requires=REQUIREMENTS,
tests_require=TEST_REQUIREMENTS,
test_suite='tests',
)