Skip to content

Commit

Permalink
chore: move to pyproject.toml (#113)
Browse files Browse the repository at this point in the history
* chore: move to pyproject.toml

* fix: include only jax-galsim
  • Loading branch information
beckermr authored Sep 5, 2024
1 parent d99de81 commit e43167f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 20 deletions.
33 changes: 33 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
[build-system]
requires = [
"setuptools>=45",
]
build-backend = "setuptools.build_meta"

[project]
name = "JAX-GalSim"
authors = [
{name = "GalSim Developers"},
]
description = "The modular galaxy image simulation toolkit, but in JAX"
version = "0.0.1rc1"
license = {file = "LICENSE"}
readme = "README.md"
dependencies = [
"numpy >=1.18.0",
"galsim >=2.3.0",
"jax",
"jaxlib",
"astropy >=2.0",
"tensorflow-probability >=0.21.0",
]

[project.optional-dependencies]
dev = ["pytest", "pytest-codspeed"]

[project.urls]
home = "https://github.com/GalSim-developers/JAX-GalSim"

[tool.setuptools.packages.find]
include = ["jax_galsim*"]

[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["C901", "E203", "E501"]
Expand Down
20 changes: 0 additions & 20 deletions setup.py

This file was deleted.

0 comments on commit e43167f

Please sign in to comment.