Skip to content

Commit

Permalink
Merge pull request #500 from BlueBrain/pyproject
Browse files Browse the repository at this point in the history
use pyproject.toml and remove versioneer
  • Loading branch information
AurelienJaquier authored Nov 1, 2024
2 parents db74696 + 046f2b6 commit 146bb01
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 2,599 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:

- name: Build a source tarball and wheel
run: |
pip install wheel
python setup.py sdist bdist_wheel
pip install build
python -m build
- name: Get and store tag from 'Bump version and push tag' step
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
Expand Down
5 changes: 2 additions & 3 deletions bluepyopt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
"""

# pylint: disable=W0611
from importlib.metadata import version

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
__version__ = version("bluepyopt")

from . import tools # NOQA

Expand Down
Loading

0 comments on commit 146bb01

Please sign in to comment.