-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
106 lines (95 loc) · 2.68 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
#!/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",
]
docs_requirements = [
"m2r2>=0.2.7",
"Sphinx>=4.0.0",
"furo>=2022.4.7",
# Extensions
"numpydoc",
"sphinx-click",
"sphinx-copybutton",
"sphinx-remove-toctrees",
"sphinx_autosummary_accessors",
"sphinx-tabs",
"sphinx-design",
]
ci_requirements = [
"codecov>=2.1.4",
"tox>=3.15.2",
]
test_requirements = [
*ci_requirements,
"black>=22.3.0",
"flake8>=3.8.3",
"flake8-debugger>=3.2.1",
"isort>=5.7.0",
"mypy>=0.790",
"pytest>=5.4.3",
"pytest-cov>=2.9.0",
"pytest-raises>=0.11",
]
dev_requirements = [
*setup_requirements,
*test_requirements,
*docs_requirements,
"bump2version>=1.0.1",
"coverage>=5.1",
"twine>=3.1.1",
"wheel>=0.34.2",
]
requirements = [
"base-image-reader @ https://github.com/AllenCellModeling/base-image-reader/archive/main.zip",
"tiff-reader @ https://github.com/AllenCellModeling/tiff-reader/archive/main.zip",
]
extra_requirements = {
"setup": setup_requirements,
"ci": ci_requirements,
"test": test_requirements,
"docs": docs_requirements,
"dev": dev_requirements,
"all": [
*requirements,
*dev_requirements,
],
}
setup(
author="Eva Maxfield Brown",
author_email="[email protected]",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description="A basic OmeTiffReader plugin for aicsimageio.",
entry_points={
"aicsimageio.readers": "ome_tiff_reader_unique_key = aicsimageio_ometiffreader",
},
install_requires=requirements,
license="BSD License",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
name="aicsimageio-ometiffreader",
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*"]),
python_requires=">=3.8",
setup_requires=setup_requirements,
test_suite="aicsimageio_ometiffreader/tests",
tests_require=test_requirements,
extras_require=extra_requirements,
url="https://github.com/evamaxfield/aicsimageio-ometiffreader",
# Do not edit this string manually, always use bumpversion
# Details in CONTRIBUTING.rst
version="0.0.0",
zip_safe=False,
)