forked from fsspec/kerchunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (35 loc) · 1.22 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
from os.path import exists
from setuptools import setup
import versioneer
setup(
name="kerchunk",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=["kerchunk"],
url="https://github.com/fsspec/kerchunk",
license="MIT",
author="Martin Durant",
author_email="[email protected]",
description="Functions to make reference descriptions for ReferenceFileSystem",
python_requires=">=3.7",
long_description=(open("README.md").read() if exists("README.md") else ""),
long_description_content_type="text/markdown",
install_requires=list(open("requirements.txt").read().strip().split("\n")),
extras_require={
"cftime": ["cftime"],
"fits": ["xarray"],
"hdf": ["h5py", "xarray"],
"grib2": ["cfgrib"],
"netcdf3": ["scipy"],
},
entry_points={
"numcodecs.codecs": [
"grib = kerchunk.codecs:GRIBCodec",
"fill_hdf_strings = kerchunk.codecs:FillStringsCodec",
"FITSAscii = kerchunk.codecs:AsciiTableCodec",
"FITSVarBintable = kerchunk.codecs:VarArrCodec",
"record_member = kerchunk.codecs.RecordArrayMember",
],
},
zip_safe=False,
)