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

migrate from setup.py to pyproject.toml #270

Merged
merged 12 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from 10 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
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
Expand Down
99 changes: 38 additions & 61 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,66 +3,21 @@
BluePyMM
========

.. raw:: html

<table>
<tr>
<td>Latest Release</td>
<td>
<a href="https://pypi.org/project/bluepymm/">
<img src="https://img.shields.io/pypi/v/bluepymm.svg" alt="latest release" />
</a>
</td>
</tr>
<tr>
<td>Documentation</td>
<td>
<a href="https://bluepymm.readthedocs.io/en/latest/">
<img src="https://readthedocs.org/projects/bluepymm/badge/?version=latest" alt="latest documentation" />
</a>
</td>
</tr>
<tr>
<td>License</td>
<td>
<a href="https://github.com/BlueBrain/bluepymm/blob/master/LICENSE.txt">
<img src="https://img.shields.io/pypi/l/bluepymm.svg" alt="license" />
</a>
</td>
</tr>
<tr>
<td>Build Status</td>
<td>
<a href="https://github.com/BlueBrain/BluePyMM/actions">
<img src="https://github.com/BlueBrain/BluePyMM/workflows/Build/badge.svg?branch=master" alt="Actions build status" />
</a>
</td>
</tr>
<tr>
<td>Coverage</td>
<td>
<a href="https://codecov.io/gh/BlueBrain/bluepymm">
<img src="https://codecov.io/github/BlueBrain/BluePyMM/coverage.svg?branch=master" alt="coverage" />
</a>
</td>
</tr>
<tr>
<td>Gitter</td>
<td>
<a href="https://gitter.im/bluebrain/bluepymm">
<img src="https://badges.gitter.im/Join%20Chat.svg" />
</a>
</td>
</tr>
<tr>
<td>Citation</td>
<td>
<a href="https://doi.org/10.5281/zenodo.8146238">
<img src="https://zenodo.org/badge/DOI/10.5281/zenodo.8146238.svg" alt="DOI"/>
</a>
</td>
</tr>
</table>
+----------------+------------+
| Latest Release | |pypi| |
+----------------+------------+
| Documentation | |docs| |
+----------------+------------+
| License | |license| |
+----------------+------------+
| Build Status | |tests| |
+----------------+------------+
| Coverage | |coverage| |
+----------------+------------+
| Citation | |zenodo| |
+----------------+------------+
| Gitter | |gitter| |
+----------------+------------+

Introduction
------------
Expand Down Expand Up @@ -174,7 +129,29 @@ Programme for Research and Innovation under the Specific Grant Agreement No. 945
This project/research was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL),
from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.

Copyright (c) 2016-2022 Blue Brain Project/EPFL
Copyright (c) 2016-2024 Blue Brain Project/EPFL

.. |pypi| image:: https://img.shields.io/pypi/v/bluepymm.svg
:target: https://pypi.org/project/bluepymm/
:alt: latest release
.. |docs| image:: https://readthedocs.org/projects/bluepymm/badge/?version=latest
:target: https://bluepymm.readthedocs.io/en/latest/
:alt: latest documentation
.. |license| image:: https://img.shields.io/pypi/l/bluepymm.svg
:target: https://github.com/BlueBrain/bluepymm/blob/master/LICENSE.txt
:alt: license
.. |tests| image:: https://github.com/BlueBrain/BluePyMM/workflows/Build/badge.svg?branch=master
:target: https://github.com/BlueBrain/BluePyMM/actions
:alt: Actions build status
.. |coverage| image:: https://codecov.io/github/BlueBrain/BluePyMM/coverage.svg?branch=master
:target: https://codecov.io/gh/BlueBrain/bluepymm
:alt: coverage
.. |gitter| image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/bluebrain/bluepymm
:alt: gitter
.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8146238.svg
:target: https://doi.org/10.5281/zenodo.8146238
:alt: DOI

..
The following image is also defined in the index.rst file, as the relative path is
Expand Down
4 changes: 0 additions & 4 deletions bluepymm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
"""

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

import bluepymm.legacy # NOQA

from .main import run # NOQA
Loading
Loading