forked from icesat2py/icepyx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (51 loc) · 2.12 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
import setuptools
with open("README.rst", "r") as f:
LONG_DESCRIPTION = f.read()
with open("requirements.txt") as f:
INSTALL_REQUIRES = f.read().strip().split("\n")
EXTRAS_REQUIRE = {
"viz": ["geoviews >= 1.9.0", "cartopy >= 0.18.0", "scipy"],
}
EXTRAS_REQUIRE["complete"] = sorted(set(sum(EXTRAS_REQUIRE.values(), [])))
# install with `pip install "icepyx[complete]"` There is no way to use this functionality with conda.
setuptools.setup(
name="icepyx",
author="The icepyx Developers",
author_email="jbscheick@gmail.com",
maintainer="Jessica Scheick",
maintainer_email="jbscheick@gmail.com",
description="Python tools for obtaining and working with ICESat-2 data",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
url="https://github.com/icesat2py/icepyx.git",
license="BSD 3-Clause",
packages=setuptools.find_packages(exclude=["*tests"]),
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
python_requires=">=3",
# classifiers are a set of standard descriptions. Possible list: https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Software Development :: Libraries",
],
py_modules=["_icepyx_version"],
use_scm_version={
"fallback_version": "unknown",
"local_scheme": "node-and-date",
"write_to": "_icepyx_version.py",
"write_to_template": 'version = "{version}"\n',
},
setup_requires=["setuptools>=30.3.0", "wheel", "setuptools_scm"],
)