-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
84 lines (74 loc) · 2.19 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env python
"""The setup script."""
from setuptools import setup, find_packages
import os.path
def get_txt(filename):
with open(filename) as txt_file:
return txt_file.read()
readme = get_txt('README.rst') if os.path.isfile('README.rst') else ''
history = get_txt('HISTORY.rst') if os.path.isfile('HISTORY.rst') else ''
requirements = [
'Click==8.1.7',
'googleads==39.0.0',
'jinja2==3.0.3',
'jsonschema==4.23.0',
'PyYAML==6.0.1',
'retrying==1.3.3',
'tqdm==4.56.0',
]
package_data = [
'conf.d/*.yml',
'conf.d/*.yaml',
]
release_requirements = [
'bump2version>=1',
'twine>=5',
]
setup_requirements = []
test_requirements = [
'flake8==3.8.4',
'mock==4.0.2',
'pytest==7.0.0',
'pytest-cov==3.0.0',
'pytest-runner==5.3.1',
]
setup(
author="the prebid contributors",
author_email='[email protected]',
python_requires='>=3.8',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
description="Create and manage line items.",
entry_points={
'console_scripts': [
'line_item_manager=line_item_manager.cli:main',
],
},
extras_require={
'release': release_requirements,
'test': test_requirements,
},
install_requires=requirements,
license="Apache Software License 2.0",
long_description=readme + '\n\n' + history,
include_package_data=True,
keywords='line-item-manager',
name='line-item-manager',
packages=find_packages(include=['line_item_manager', 'line_item_manager.*']),
package_dir={'line_item_manager': 'line_item_manager'},
package_data={'line_item_manager': package_data},
setup_requires=setup_requirements,
test_suite='tests',
url='https://github.com/prebid/line-item-manager',
version='0.2.13',
zip_safe=False,
)