Skip to content

Commit

Permalink
versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico committed Oct 14, 2024
1 parent 06246e8 commit dcebda7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build
run: |
sudo apt-get install graphviz
pip install poetry
pip install poetry poetry-dynamic-versioning
poetry install --with dev
sphinx-build -j 4 -T -b html docs/source docs/build/html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Install poetry
run: >-
python -m pip install poetry --user
python -m pip install poetry poetry-dynamic-versioning --user
- name: Build a binary wheel and a source tarball
run: >-
python -m poetry build
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include = [
# Enable dynamic versioning
enable = true
# Set the source of the version to __init__.py
source = "src/pyhgf/__init__.py"
source = ".src/pyhgf/__init__.py"

[tool.poetry.dependencies]
python = ">=3.10,<3.13"
Expand Down
61 changes: 0 additions & 61 deletions setup.py

This file was deleted.

0 comments on commit dcebda7

Please sign in to comment.