Skip to content

Commit

Permalink
add scripts in bin to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Dec 11, 2024
1 parent b011403 commit 6489292
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,20 @@ requires = ["setuptools",
build-backend = 'setuptools.build_meta'

[tool.setuptools]
scripts-dir = "bin"
package-dir = {"" = "py"}
include-package-data = true
zip-safe = true
package-dir = {"" = "py"}
scripts = [
"bin/build-templates",
"bin/get-cutouts",
"bin/mpi-fastspecfit"
]

[tool.setuptools.entry-points.console_scripts]
fastspec = "fastspecfit.fastspecfit:fastspec"
fastphot = "fastspecfit.fastspecfit:fastphot"
stackfit = "fastspecfit.fastspecfit:stackfit"
fastqa = "fastspecfit.qa:fastqa"

[tool.setuptools.package-data]
fastspecfit = [
Expand Down

0 comments on commit 6489292

Please sign in to comment.