Skip to content

Commit

Permalink
Simplify pyproject.toml setuptools config, using default configurat…
Browse files Browse the repository at this point in the history
…ion. (#124)

Avoid explicit listing of packages, which we can forget to update!
  • Loading branch information
balancap authored Jul 17, 2024
1 parent e86e10c commit 28f08dd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ Website = "https://github.com/graphcore-research/jax-scalify/#readme"
[project.optional-dependencies]
test = ["pytest"]

[tool.setuptools]
packages = ["jax_scalify", "jax_scalify.core", "jax_scalify.lax", "jax_scalify.ops"]
# Relying on the default setuptools.
# In case of an issue, can use the following options
# [tool.setuptools]
# packages = ["jax_scalify", "jax_scalify.core", "jax_scalify.lax", "jax_scalify.ops"]
# [tool.setuptools.packages]
# find = {namespaces = false}

[tool.pytest.ini_options]
minversion = "6.0"
Expand Down

0 comments on commit 28f08dd

Please sign in to comment.