|
1 | 1 | from setuptools import setup, find_packages
|
2 | 2 |
|
3 | 3 | setup(
|
4 |
| - name='xlb', |
5 |
| - version='0.2.1', |
6 |
| - description='XLB: Accelerated Lattice Boltzmann (XLB) for Physics-based ML', |
7 |
| - long_description=open('README.md').read(), |
8 |
| - long_description_content_type='text/markdown', |
9 |
| - author='Mehdi Ataei', |
10 |
| - url='https://github.com/Autodesk/XLB', |
11 |
| - license='Apache License 2.0', |
| 4 | + name="xlb", |
| 5 | + version="0.2.1", |
| 6 | + description="XLB: Accelerated Lattice Boltzmann (XLB) for Physics-based ML", |
| 7 | + long_description=open("README.md").read(), |
| 8 | + long_description_content_type="text/markdown", |
| 9 | + author="Mehdi Ataei", |
| 10 | + url="https://github.com/Autodesk/XLB", |
| 11 | + license="Apache License 2.0", |
12 | 12 | packages=find_packages(),
|
13 | 13 | install_requires=[
|
14 |
| - 'matplotlib>=3.9.2', |
15 |
| - 'numpy>=2.1.2', |
16 |
| - 'pyvista>=0.44.1', |
17 |
| - 'trimesh>=4.4.9', |
18 |
| - 'warp-lang>=1.4.0', |
19 |
| - 'numpy-stl>=3.1.2', |
20 |
| - 'pydantic>=2.9.1', |
21 |
| - 'ruff>=0.6.5', |
22 |
| - 'jax>=0.4.34' # Base JAX CPU-only requirement |
| 14 | + "matplotlib>=3.9.2", |
| 15 | + "numpy>=2.1.2", |
| 16 | + "pyvista>=0.44.1", |
| 17 | + "trimesh>=4.4.9", |
| 18 | + "warp-lang>=1.4.0", |
| 19 | + "numpy-stl>=3.1.2", |
| 20 | + "pydantic>=2.9.1", |
| 21 | + "ruff>=0.6.5", |
| 22 | + "jax>=0.4.34", # Base JAX CPU-only requirement |
23 | 23 | ],
|
24 | 24 | extras_require={
|
25 |
| - 'cuda': ['jax[cuda12]>=0.4.34'], # For CUDA installations |
26 |
| - 'tpu': ['jax[tpu]>=0.4.34'], # For TPU installations |
| 25 | + "cuda": ["jax[cuda12]>=0.4.34"], # For CUDA installations |
| 26 | + "tpu": ["jax[tpu]>=0.4.34"], # For TPU installations |
27 | 27 | },
|
28 |
| - python_requires='>=3.10', |
29 |
| - dependency_links=[ |
30 |
| - 'https://storage.googleapis.com/jax-releases/libtpu_releases.html' |
31 |
| - ], |
| 28 | + python_requires=">=3.10", |
| 29 | + dependency_links=["https://storage.googleapis.com/jax-releases/libtpu_releases.html"], |
32 | 30 | )
|
0 commit comments