This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
forked from optimizely/python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (49 loc) · 2.09 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
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='[email protected]',
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 :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
packages=find_packages(exclude=['docs', 'tests']),
extras_require={'test': TEST_REQUIREMENTS},
install_requires=REQUIREMENTS,
tests_require=TEST_REQUIREMENTS,
test_suite='tests',
)