-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathsetup.py
124 lines (113 loc) · 3.37 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
124
import os
import setuptools
import sys
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), 'rt') as f:
return f.read()
def requirements():
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt'), 'rt') as f:
return f.readlines()
EM_CODECS = [
"imagecodecs",
"simplejpeg",
"pyspng-seunglab>=1.0.0",
]
SEGMENTATION_CODECS = [
"compressed-segmentation>=2.1.1",
"compresso>=3.0.0",
"crackle-codec>=0.8.0,<2.0.0",
]
FP_CODECS = [
"fpzip",
"zfpc",
]
OTHER_FORMATS = [
"blosc",
"intern",
"zstandard",
]
setuptools.setup(
name="cloud-volume",
version="11.1.2",
setup_requires=[
'numpy<1.17; python_version<"3.5"',
'numpy; python_version>="3.5"',
],
python_requires=">=3.8",
install_requires=requirements(),
# Environment Marker Examples:
# https://www.python.org/dev/peps/pep-0496/
extras_require={
"boss": [
"intern>=0.9.11",
"blosc",
],
':sys_platform!="win32"': [
"posix_ipc>=1.0.4",
"psutil>=5.4.3",
],
"mesh_viewer": [ 'vtk' ],
"skeleton_viewer": [ 'matplotlib>=3.6' ],
"all_viewers": [ 'vtk', 'matplotlib>=3.6' ],
"dask": [ 'dask[array]' ],
"zarr": [ 'blosc', 'zstandard' ],
"test": [ "pytest", "pytest-cov", "codecov", "requests_mock", "scipy"],
# image compression codecs
"blosc": [ "blosc" ],
"jxl": [ "imagecodecs" ],
"png": [ "pyspng-seunglab" ],
"jpeg": [ "simplejpeg" ],
"fpzip": [ "fpzip" ],
"zfpc": [ "zfpc" ],
"crackle": [ "crackle-codec" ],
"compresso": [ "compresso" ],
"em_codecs": EM_CODECS,
"seg_codecs": SEGMENTATION_CODECS,
"fp_codecs": FP_CODECS,
"all_codecs": SEGMENTATION_CODECS + EM_CODECS + FP_CODECS + OTHER_FORMATS,
"all": SEGMENTATION_CODECS + EM_CODECS + FP_CODECS + OTHER_FORMATS + [
"dask[array]",
"vtk",
"matplotlib",
"pytest",
"pytest-cov",
"codecov",
"requests_mock",
"scipy",
"pillow",
],
},
author="William Silversmith, Nico Kemnitz, Ignacio Tartavull, and others",
author_email="[email protected]",
packages=setuptools.find_packages(),
package_data={
'cloudvolume': [
'LICENSE',
'requirements.txt',
],
},
description="A serverless client for reading and writing Neuroglancer Precomputed volumes both locally and on cloud services.",
long_description=read('README.md'),
long_description_content_type="text/markdown",
license = "License :: OSI Approved :: BSD License",
keywords = "neuroglancer volumetric-data numpy connectomics microscopy image-processing biomedical-image-processing s3 gcs mesh meshes skeleton skeletons",
url = "https://github.com/seung-lab/cloud-volume/",
classifiers=[
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Topic :: Utilities",
],
)