forked from CouncilDataProject/cdptools_v2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
123 lines (112 loc) · 3.2 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import find_packages, setup
with open("README.md") as readme_file:
readme = readme_file.read()
setup_requirements = [
"pytest-runner>=5.2",
]
test_requirements = [
"black>=19.10b0",
"codecov>=2.1.4",
"flake8>=3.8.3",
"flake8-debugger>=3.2.1",
"pytest>=5.4.3",
"pytest-cov>=2.9.0",
"pytest-raises>=0.11",
]
dev_requirements = [
*setup_requirements,
*test_requirements,
"bumpversion>=0.6.0",
"coverage>=5.1",
"gitchangelog>=3.0.4",
"ipython>=7.15.0",
"m2r>=0.2.1",
"pytest-runner>=5.2",
"Sphinx>=2.0.0b1,<3",
"sphinx_rtd_theme>=0.4.3",
"tox>=3.15.2",
"twine>=3.1.1",
"wheel>=0.34.2",
]
requirements = [
"beautifulsoup4>=4.9.1",
"ffmpeg-python>=0.2.0",
"rapidfuzz>=0.9.1",
"nltk>=3.5",
"pandas>=1.0.4",
"requests[security]>=2.23.0",
"schedule>=0.6.0",
"setuptools>=44.0.0",
"six>=1.14.0",
"tika>=1.24",
"webvtt-py>=0.4.5",
"truecase>=0.0.9",
]
extra_requirements = ["appdirs>=1.4.3"]
seattle_requirements = [
"cryptography>=2.9.2",
"firebase-admin==4.3.0",
"google-api-core[grpc]==1.22.1",
"google-api-python-client==1.10.0",
"google-auth==1.20.1",
"google-cloud-core==1.4.1",
"google-cloud-firestore==1.8.1",
"google-cloud-speech==1.3.2",
"google-cloud-storage==1.30.0",
"google-resumable-media==0.7.1",
]
extra_requirements = {
"test": test_requirements,
"setup": setup_requirements,
"dev": dev_requirements,
"extras": extra_requirements,
"seattle": seattle_requirements,
"all": [
*requirements,
*extra_requirements,
*seattle_requirements,
*test_requirements,
*setup_requirements,
*dev_requirements,
],
}
setup(
author="Jackson Maxfield Brown, Nicholas Weber",
author_email="[email protected], [email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Utilities",
],
description="Tools to interact with and deploy CouncilDataProject instances",
entry_points={
"console_scripts": [
"run_cdp_pipeline=cdptools.bin.run_cdp_pipeline:main",
"clone_db=cdptools.bin.clone_db:main",
"process_single_event=cdptools.bin.process_single_event:main",
"clone_file_store=cdptools.bin.clone_file_store:main",
],
},
install_requires=requirements,
license="BSD-3-Clause",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
name="cdptools",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
setup_requires=setup_requirements,
test_suite="tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/CouncilDataProject/cdptools",
version="2.0.6",
zip_safe=False,
)