-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (33 loc) · 1.34 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="dynamicopy",
version="0.6.6",
author="Stella Bourdin",
author_email="[email protected]",
description="A set of tool to use and analyse netCDF _data",
long_description=long_description,
long_description_content_type="text/markdown",
# TODO : Upload to Github when done
# url="https://github.com/pypa/sampleproject",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=["numpy", "scipy", "seaborn", "matplotlib", "netCDF4", "xarray", "shapely","haversine"],
include_package_data=True,
package_data={"":['_data/*.csv', "_data/iho.*"]}
)
# Black formatting:
# `python -m black <directory or file(s)>`
# To generate the distribution:
# 1 / Check that wheel is up to date with `pip install --user --upgrade setuptools wheel`
# 2 / Run `python setup.py sdist bdist_wheel`
# To upload to PyPI:
# 1 / Check that twine is up-to-date `pip install --user --upgrade twine`
# 2 / Upload with `python -m twine upload --repository pypi dist/*`