generated from shunt16/template_python_module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (35 loc) · 1.25 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
from io import open
from os import path
from setuptools import find_packages, setup
# Get package __version__.
# Same effect as "from s import __version__",
# but avoids importing the module which may not be installed yet:
__version__ = None
here = path.abspath(path.dirname(__file__))
with open("dsbuilder/version.py") as f:
exec(f.read())
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="dsbuilder",
version=__version__,
description="creating datasets, to specification",
authors="Sam Hunt",
email="sam.hunt@npl.co.uk",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://dsbuilder.readthedocs.io",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
install_requires=["numpy", "netcdf4", "xarray"],
extras_require={"dev": ["pre-commit", "tox", "sphinx", "sphinx_rtd_theme", "sphinx-autodoc-typehints"]},
entry_points={
"console_scripts": [],
},
)