-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (51 loc) · 1.73 KB
/
setup.py
File metadata and controls
55 lines (51 loc) · 1.73 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
51
52
53
54
55
import pathlib
from setuptools import setup
import subprocess
# Fetch version number from git tag
ff_version = (
subprocess.run(['git', 'describe', '--tags'], stdout=subprocess.PIPE)
.stdout.decode('utf-8')
.strip()
)
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
setup(
name='fastfuels',
packages=['fastfuels'],
version=ff_version,
license='GNU GPLv3',
description='3D fuelscapes for the contiguous US',
long_description=README,
long_description_content_type="text/markdown",
author='Holtz Technology and Development Services LLC',
author_email='lucas@holtztds.com',
url='https://github.com/teamholtz/FastFuels-Python',
keywords=['fire model', 'fuelscape', 'wildfire'],
install_requires=[
# pinning all dependencies to avoid version mismatch
'colorcet==2.0.6',
'fsspec==2024.2.0',
# numcodecs no longer includes msgpack?
'msgpack==1.0.2',
# use numpy 1.23 to avoid TypeError: 'numpy._DTypeMeta' object is not subscriptable
'numpy>=1.23.0,<2',
'pyvista==0.28.1',
's3fs==2024.2.0',
# use newer scipy for numpy 1.23
'scipy==1.11.4',
'shapely<2',
'zarr==2.8.3'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
scripts=['fastfuels/fastfuels_create_index.py']
)