Skip to content

Commit

Permalink
Upgrade setup.py to pyproject
Browse files Browse the repository at this point in the history
  • Loading branch information
ASKabalan committed Dec 6, 2024
1 parent f70583b commit 7823fda
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
26 changes: 26 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "JaxPM"
version = "0.0.1"
description = "A dead simple FastPM implementation in JAX"
authors = [{ name = "JaxPM developers" }]
readme = "README.md"
requires-python = ">=3.9"
license = { file = "LICENSE" }
homepage = "https://github.com/DifferentiableUniverseInitiative/JaxPM"
dependencies = ["jax_cosmo", "jax>=0.4.30", "jaxdecomp>=0.2.0"]

[project.optional-dependencies]
test = [
"jax_cosmo",
"jaxdecomp>=0.2.0",
"pytest>=8.0.0",
"jax[cpu]>=0.4.30",
"pfft-python @ git+https://github.com/MP-Gadget/pfft-python",
"pmesh @ git+https://github.com/ASKabalan/pmesh",
"fastpm @ git+https://github.com/ASKabalan/fastpm-python",
"diffrax"
]
11 changes: 0 additions & 11 deletions setup.py

This file was deleted.

0 comments on commit 7823fda

Please sign in to comment.