-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
57 lines (50 loc) · 1.53 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
49
50
51
52
53
54
55
56
57
# Copyright 2022 Lawrence Livermore National Security, LLC and other
# Thicket Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: MIT
from setuptools import setup
from codecs import open
from os import path
def readme():
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
return f.read()
# Get the version in a safe way which does not reference thicket `__init__` file
# per python docs: # https://packaging.python.org/guides/single-sourcing-package-version/
version = {}
with open("./thicket/version.py") as fp:
exec(fp.read(), version)
setup(
name="llnl-thicket",
version=version["__version__"],
license="MIT",
description="Toolkit for exploratory data analysis of ensemble performance data",
long_description=readme(),
long_description_content_type="text/markdown",
keywords="",
project_urls={
"Source Code": "https://github.com/LLNL/thicket",
"Documentation": "https://thicket.readthedocs.io/",
},
python_requires=">=3.6.1",
packages=[
"thicket",
"thicket.stats",
"thicket.vis",
"thicket.external",
],
include_package_data=True,
install_requires=[
"scipy",
"numpy < 2.0.0",
"pandas >= 1.1",
"llnl-hatchet",
"tqdm",
"more-itertools",
],
extras_require={
"extrap": ["extrap", "matplotlib"],
"plotting": ["seaborn"],
"vis": ["beautifulsoup4"],
},
)