-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (33 loc) · 992 Bytes
/
setup.py
File metadata and controls
39 lines (33 loc) · 992 Bytes
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
"""
Setup file for enstools-encoding
"""
from setuptools import setup
# Use the Readme file as long description.
try:
with open("Readme.md", "r") as f:
long_description = f.read()
except FileNotFoundError:
long_description = ""
def get_version():
from pathlib import Path
version_path = Path(__file__).parent / "VERSION"
with version_path.open() as version_file:
return version_file.read().strip()
# perform the actual install operation
setup(name="enstools-encoding",
version=get_version(),
author="Oriol Tintó",
author_email="oriol.tinto@lmu.de",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/wavestoweather/enstools-encoding",
packages=["enstools.encoding"],
namespace_packages=['enstools'],
install_requires=[
"xarray",
"PyYAML",
"h5py",
"h5netcdf",
"hdf5plugin",
],
)