forked from BrunoV21/IDeaL_RCF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (44 loc) · 1.3 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
import setuptools
import sys
with open("README.md", "r") as fh:
long_description = fh.read()
install_requires = [
"gdown==5.2.0",
"matplotlib==3.7.1",
"polars==1.0.0",
"scikit-learn==1.2.2",
"tqdm==4.41.1",
"typing_extensions==4.8.0"
]
# Add platform-specific dependencies
if sys.platform.startswith('win'):
install_requires.extend([
"protobuf==3.19.6",
"tensorflow==2.10.1",
"tensorflow-addons==0.18.0",
"tensorflow-estimator==2.10.0",
"tensorflow-io-gcs-filesystem==0.31.0",
"numpy==1.24.3",
])
elif sys.platform.startswith('linux'):
install_requires.extend([
"numpy==1.25.2",
"tensorflow==2.15.0"
])
setuptools.setup(
name="ideal_rcf",
version="0.3a.3",
author="bruno_v",
author_email="[email protected]",
description="A python framework for invariant rans turbulence closure.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/BrunoV21/IDeaL_RCF",
packages=setuptools.find_packages(),
install_requires=install_requires,
classifiers=(
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
),
)