forked from instructed-glacier-model/igm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (45 loc) · 1.19 KB
/
setup.py
File metadata and controls
50 lines (45 loc) · 1.19 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
46
47
48
49
50
#!/usr/bin/env python
# Copyright (C) 2021-2022 Guillaume Jouvet <guillaume.jouvet@unil.ch>
# Published under the GNU GPL (Version 3)
from setuptools import setup, find_packages
import os
def package_files(directory):
paths = []
for (path, directories, 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",
version="2.0.0",
author="Guillaume Jouvet",
author_email="guillaume.jouvet@unil.ch",
url="https://github.com/jouvetg/igm",
license="gpl-3.0",
packages=find_packages(),
package_data={"igm": package_files("igm/emulators")},
description='IGM - a glacier evolution model',
long_description=readme,
long_description_content_type='text/markdown',
extras_require={
'doc': ['numpydoc', 'sphinx', 'sphinx_rtd_theme', 'sphinx_mdinclude'],
},
install_requires=[
'matplotlib',
'netCDF4',
'numpy',
'scipy',
'tensorflow==2.12.0',
'tensorflow_addons',
'xarray',
'importlib_resources',
'tables',
'oggm',
'geopandas',
'rasterio',
'mayavi',
'pyqt5'
]
)