-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·80 lines (61 loc) · 2.01 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
import os
import io
from setuptools import Command, find_packages, setup
DESCRIPTION="Interactive viewing of NetCDF data"
PROJECT_URLS = {
"Bug Tracker": "https://github.com/pmlmodelling/ncplot/issues",
"Documentation": "https://ncplot.readthedocs.io/en/stable",
"Source Code": "https://github.com/pmlmodelling/ncplot",
}
REQUIREMENTS = [i.strip() for i in open("requirements.txt").readlines()]
here = os.path.abspath(os.path.dirname(__file__))
# Use the README file as the description
try:
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = '\n' + f.read()
except IOError:
long_description = DESCRIPTION
#extras_require: dict[str, list[str]] = {
# ':python_version <= "3.10"': [
# 'datashader',
# ],
#}
extras_require: dict() = {
':python_version <= "3.10"': [
'datashader',
],
}
extras_require["complete"] = ["geoviews"]
setup(name='ncplot',
version='0.3.10',
description=DESCRIPTION,
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.6.1',
entry_points={
'console_scripts': [
'ncplot =ncplot.command_line:main',
] },
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
'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',
],
project_urls=PROJECT_URLS,
url = "https://github.com/pmlmodelling/ncplot",
author='Robert Wilson',
maintainer='Robert Wilson',
author_email='[email protected]',
packages = ["ncplot"],
setup_requires=[
'setuptools',
'numpy',
'setuptools-git',
'wheel',
],
install_requires = REQUIREMENTS,
extras_require = extras_require,
zip_safe=False)