-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
executable file
·48 lines (42 loc) · 1.26 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
#!/usr/bin/env python
# Copyright (C) 2021-2022 Guillaume Jouvet <[email protected]>
# Published under the GNU GPL (Version 3)
from setuptools import setup, find_packages
import os
def package_files(directory):
paths = []
for path, __, filenames in os.walk(directory):
for filename in filenames:
paths.append(os.path.join("..", path, filename))
return paths
with open("README.md", "r") as f:
readme = f.read()
setup(
name="igm-model",
version="2.2.2",
author="Guillaume Jouvet",
author_email="[email protected]",
url="https://github.com/jouvetg/igm",
license="gpl-3.0",
packages=find_packages(),
entry_points={"console_scripts": ["igm_run = igm.igm_run:main","igm_help = igm.igm_help:main"]},
package_data={"igm": package_files("igm/emulators")},
description="IGM - a glacier evolution model",
long_description=readme,
long_description_content_type="text/markdown",
python_requires="<3.11",
install_requires=[
"tensorflow[and-cuda]==2.15.1",
"matplotlib",
"scipy",
"netCDF4==1.6.0",
"xarray",
"rasterio",
"pyproj",
"geopandas",
"oggm",
"salem",
"pyyaml",
"importlib_resources",
],
)