Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions template/.github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools tox tox-gh-actions
python -m pip install hatch tox tox-gh-actions

# this runs the platform-specific tests declared in tox.ini
- name: Test with tox
Expand Down Expand Up @@ -79,8 +79,8 @@ jobs:
- name: Build package
run: |
python -m pip install --upgrade pip
pip install -U setuptools setuptools_scm wheel twine build
pip install build
git tag
python -m build .
python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
5 changes: 0 additions & 5 deletions template/MANIFEST.in

This file was deleted.

17 changes: 4 additions & 13 deletions template/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,11 @@ testing = [
{%- endif %}

[build-system]
requires = ["setuptools>=42.0.0", "setuptools_scm"]
build-backend = "setuptools.build_meta"
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[tool.setuptools]
include-package-data = true

[tool.setuptools.packages.find]
where = ["src"]

[tool.setuptools.package-data]
"*" = ["*.yaml"]

[tool.setuptools_scm]
write_to = "src/{{module_name}}/_version.py"
[tool.hatch.version]
source = "vcs"
fallback_version = "0.0.1+nogit"

[tool.black]
Expand Down
Loading