forked from project-pareto/project-pareto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
115 lines (111 loc) · 4.42 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#####################################################################################################
# PARETO was produced under the DOE Produced Water Application for Beneficial Reuse Environmental
# Impact and Treatment Optimization (PARETO), and is copyright (c) 2021-2024 by the software owners:
# The Regents of the University of California, through Lawrence Berkeley National Laboratory, et al.
# All rights reserved.
#
# NOTICE. This Software was developed under funding from the U.S. Department of Energy and the U.S.
# Government consequently retains certain rights. As such, the U.S. Government has been granted for
# itself and others acting on its behalf a paid-up, nonexclusive, irrevocable, worldwide license in
# the Software to reproduce, distribute copies to the public, prepare derivative works, and perform
# publicly and display publicly, and to permit others to do so.
#####################################################################################################
from setuptools import setup, find_packages
NAME = "project-pareto"
VERSION = "1.1.dev0"
setup(
name=NAME,
version=VERSION,
description="Project PARETO - The Produced Water Optimization Initiative",
long_description=(
"The Produced Water Application for Beneficial Reuse, Environmental Impact and Treatment Optimization (PARETO) "
"is specifically designed for produced water management and beneficial reuse. "
"The major deliverable of this project will be an open-source, optimization-based, downloadable and executable produced water decision-support application, PARETO, "
"that can be run by upstream operators, midstream companies, technology providers, water end users, research organizations and regulators."
),
long_description_content_type="text/plain",
url="https://www.project-pareto.org",
author="PARETO team",
license="BSD",
maintainer="Keith Beattie",
maintainer_email="[email protected]",
keywords=[
"PARETO",
"produced water",
"optimization",
"process modeling",
"chemical engineering",
"water management",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3 :: Only",
],
platforms=[
"windows",
"linux",
],
python_requires=">=3.8, <4",
packages=find_packages(),
py_modules=["stagedfright"],
install_requires=[
"pyomo>=6.2",
"numpy",
"pandas>=2,<3",
"openpyxl",
# for the moment mainly for getting solvers with `idaes get-extensions`
# https://peps.python.org/pep-0440/#compatible-release
"idaes-pse == 2.5",
"requests",
"plotly==5.11.0",
"kaleido",
"ipywidgets>=8.0.0",
"tensorflow==2.13.0",
"omlt==1.1",
# pyproj requires python >= 3.9
"pyproj ; python_version >= '3.9'",
],
extras_require={
"testing": [
"pytest",
"packaging", # packaging is already a dependency of pytest, but we specify it here just in case
"pyyaml",
],
},
include_package_data=True,
package_data={
# If any package contains these files, include them:
"": [
"*.xlsx",
],
"pareto.strategic_water_management": [
"mvc_keras/*.pb",
"mvc_keras/*.json",
"mvc_keras/variables/variables.*",
"md_keras/*.pb",
"md_keras/*.json",
"md_keras/variables/variables.*",
],
},
entry_points={
"console_scripts": [
"stagedfright=stagedfright:main",
]
},
)