Skip to content

Commit

Permalink
Clean-up warnings when building Python packages (#70)
Browse files Browse the repository at this point in the history
- Use automatic setuptools package finder to locate all Surfactant submodules
- Fetch repository history and tags
  • Loading branch information
nightlark committed Oct 29, 2023
1 parent 5a8a77a commit f3e2d0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Documentation = "https://surfactant.readthedocs.io/en/latest/"
"Issue Tracker" = "https://github.com/LLNL/Surfactant/issues"
"Source Code" = "https://github.com/LLNL/Surfactant"

[tool.setuptools]
packages =["surfactant"]
[tool.setuptools.packages.find]
include = ["surfactant", "surfactant.*"]

[tool.setuptools_scm]
write_to = "surfactant/_version.py"
Expand Down

0 comments on commit f3e2d0a

Please sign in to comment.