Skip to content

Commit

Permalink
Updated pyproject to expose script, and test it.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jan 18, 2024
1 parent c92a5d4 commit 1a2b3aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
- run: pip install .
- run: pip uninstall -y montepy
- run: pip install --user dist/*.whl
# run scripts
- run: change_to_ascii -h
- run: pip uninstall -y montepy
- run: pip install --user dist/*.tar.gz
- run: pip install --user montepy[test]
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ Repository = "https://github.com/idaholab/montepy.git"
Documentation = "https://idaholab.github.io/MontePy/index.html"
"Bug Tracker" = "https://github.com/idaholab/MontePy/issues"

[project.scripts]
"change_to_ascii" = "scripts.change_to_ascii:main"

[build-system]
requires = ["setuptools >= 61.0.0"]
build-backend = "setuptools.build_meta"
Expand Down

0 comments on commit 1a2b3aa

Please sign in to comment.