-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
82 lines (73 loc) · 2.31 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
#!/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 = [
"black == 21.7b0",
"flake8 ~= 3.9",
"isort ~= 5.9",
"mypy ~= 0.910",
"pre-commit ~= 2.13",
"pytest-runner ~= 5.2",
]
test_requirements = [
"pytest ~= 6.2",
"pytest-runner ~= 5.3",
"pytest-cov ~= 2.12",
"pytest-raises ~= 0.11",
]
dev_requirements = [
*setup_requirements,
*test_requirements,
"bump2version ~= 1.0.1",
"twine ~= 3.4.2",
"wheel ~= 0.37.0",
# Documentation generation
"Sphinx ~= 4.1.2",
"furo == 2021.8.17b43", # Third-party theme (https://pradyunsg.me/furo/quickstart/)
"m2r2 ~= 0.3.1", # Sphinx extension for parsing README.md as reST and including in Sphinx docs
]
requirements = ["aicsimageio[czi] ~= 4.4", "numpy ~= 1.21", "scikit-image ~= 0.18"]
extra_requirements = {
"setup": setup_requirements,
"test": test_requirements,
"dev": dev_requirements,
"all": [
*requirements,
*dev_requirements,
],
}
setup(
author="Brian Whitney",
author_email="[email protected]",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: Free for non-commercial use",
"Natural Language :: English",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
description="airtable_core contains all you need for the emt pipeline",
install_requires=requirements,
license="Allen Institute Software License",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="airtable_core",
name="airtable_core",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
python_requires=">=3.8",
setup_requires=setup_requirements,
test_suite="airtable_core/tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/BrianWhitneyAI/airtable_core",
# Do not edit this string manually, always use bumpversion
# Details in CONTRIBUTING.rst
version="0.0.0",
zip_safe=False,
)