forked from UWGlaciology/CommunityFirnModel
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (40 loc) · 1.18 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (40 loc) · 1.18 KB
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
import pathlib
from setuptools import setup, find_packages
import os
HERE = pathlib.Path(__file__).parent
VERSION = '1.1.0'
PACKAGE_NAME = 'CommunityFirnModel'
AUTHOR = 'Max Stevens'
AUTHOR_EMAIL = 'maxstev@umd.edu'
URL = 'https://github.com/UWGlaciology/CommunityFirnModel'
LICENSE = 'MIT'
DESCRIPTION = 'An open-source model to simulate firn.'
# LONG_DESCRIPTION = (HERE / "README.md").read_text()
with open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
LONG_DESC_TYPE = "text/markdown"
INSTALL_REQUIRES = [
'numpy>1.12.0',
'pandas',
'scipy>1.0.0',
'h5py',
'xarray',
'netCDF4'
]
setup(name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"],
python_requires='>=3.6',
packages=find_packages()
)