-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (30 loc) · 1.02 KB
/
setup.py
File metadata and controls
31 lines (30 loc) · 1.02 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
from setuptools import setup, find_packages
setup(
name="xlb",
version="0.3.2",
description="XLB: Accelerated Lattice Boltzmann (XLB) for Physics-based ML",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Mehdi Ataei",
url="https://github.com/Autodesk/XLB",
license="Apache License 2.0",
packages=find_packages(),
install_requires=[
"matplotlib>=3.9.2",
"numpy>=2.1.2",
"pyvista>=0.44.1",
"trimesh>=4.4.9",
"warp-lang>=1.10.0",
"numpy-stl>=3.1.2",
"pydantic>=2.9.1",
"ruff>=0.14.1",
"jax>=0.8.2", # Base JAX CPU-only requirement
],
extras_require={
"cuda": ["jax[cuda13]>=0.8.2"], # For CUDA installations (pip install -U "jax[cuda13]")
"tpu": ["jax[tpu]>=0.8.2"], # For TPU installations
"test": ["pytest>=8.0.0"],
},
python_requires=">=3.11",
dependency_links=["https://storage.googleapis.com/jax-releases/libtpu_releases.html"],
)