Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use pyproject.toml and remove versioneer #500

Merged
merged 13 commits into from
Nov 1, 2024
Merged
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
Loading