-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
109 lines (99 loc) · 2.72 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
#!/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()
test_requirements = [
"flake8",
"black",
"pytest",
"pytest-cov",
"pytest-raises",
]
setup_requirements = [
"pytest-runner",
]
dev_requirements = [
"bumpversion>=0.5.3",
"coverage>=5.0a4",
"flake8>=3.7.7",
"furo==2022.6.21",
"jinja2==3.1.2",
"ipython>=7.5.0",
"m2r2==0.3.2",
"pytest>=4.3.0",
"pytest-cov==2.6.1",
"pytest-raises>=0.10",
"pytest-runner>=4.4",
"Sphinx==5.0.2",
"tox>=3.5.2",
"twine>=1.13.0",
"wheel>=0.33.1",
]
interactive_requirements = [
"altair",
"jupyterlab",
"matplotlib",
]
requirements = [
"google-api-python-client==2.54.0",
"google-auth==2.9.1",
"pymongo[tls]==4.2.0",
"dnspython==2.2.1",
"dask[bag]==2022.7.1",
"distributed==2022.7.1",
"prefect==1.2.4",
"requests==2.28.1",
"urllib3==1.26.11",
]
extra_requirements = {
"test": test_requirements,
"setup": setup_requirements,
"dev": dev_requirements,
"interactive": interactive_requirements,
"all": [
*requirements,
*test_requirements,
*setup_requirements,
*dev_requirements,
*interactive_requirements
]
}
setup(
author="SIGLA",
author_email="huynh.nto@gmail.com",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
],
description="Tools to extract SIGLA data from Google Sheets and load into MongoDB",
entry_points={
"console_scripts": [
"run_sigla_pipeline=siglatools.bin.run_sigla_pipeline:main",
"run_external_link_checker=siglatools.bin.run_external_link_checker:main",
"get_next_uv_dates=siglatools.bin.get_next_uv_dates:main",
"run_qa_test=siglatools.bin.run_qa_test:main",
"load_spreadsheets=siglatools.bin.load_spreadsheets:main",
],
},
install_requires=requirements,
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="siglatools",
name="siglatools",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
python_requires=">=3.8",
setup_requires=setup_requirements,
test_suite="siglatools/tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/sigla-gu/siglatools",
# Do not edit this string manually, always use bumpversion
# Details in CONTRIBUTING.rst
version="0.1.0",
zip_safe=False,
)