Skip to content

Commit e095fec

Browse files
Merge pull request #270 from AurelienJaquier/pyproject
migrate from setup.py to pyproject.toml
2 parents 3d21d31 + 641f853 commit e095fec

File tree

14 files changed

+135
-2559
lines changed

14 files changed

+135
-2559
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535

3636
- name: Build a source tarball and wheel
3737
run: |
38-
pip install wheel
39-
python setup.py sdist bdist_wheel
38+
pip install build
39+
python -m build
4040
4141
- name: Get and store tag from 'Bump version and push tag' step
4242
if: ${{ !startsWith(github.ref, 'refs/tags/') }}

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1414

1515
steps:
1616
- uses: actions/checkout@v2

README.rst

Lines changed: 39 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -3,66 +3,21 @@
33
BluePyMM
44
========
55

6-
.. raw:: html
7-
8-
<table>
9-
<tr>
10-
<td>Latest Release</td>
11-
<td>
12-
<a href="https://pypi.org/project/bluepymm/">
13-
<img src="https://img.shields.io/pypi/v/bluepymm.svg" alt="latest release" />
14-
</a>
15-
</td>
16-
</tr>
17-
<tr>
18-
<td>Documentation</td>
19-
<td>
20-
<a href="https://bluepymm.readthedocs.io/en/latest/">
21-
<img src="https://readthedocs.org/projects/bluepymm/badge/?version=latest" alt="latest documentation" />
22-
</a>
23-
</td>
24-
</tr>
25-
<tr>
26-
<td>License</td>
27-
<td>
28-
<a href="https://github.com/BlueBrain/bluepymm/blob/master/LICENSE.txt">
29-
<img src="https://img.shields.io/pypi/l/bluepymm.svg" alt="license" />
30-
</a>
31-
</td>
32-
</tr>
33-
<tr>
34-
<td>Build Status</td>
35-
<td>
36-
<a href="https://github.com/BlueBrain/BluePyMM/actions">
37-
<img src="https://github.com/BlueBrain/BluePyMM/workflows/Build/badge.svg?branch=master" alt="Actions build status" />
38-
</a>
39-
</td>
40-
</tr>
41-
<tr>
42-
<td>Coverage</td>
43-
<td>
44-
<a href="https://codecov.io/gh/BlueBrain/bluepymm">
45-
<img src="https://codecov.io/github/BlueBrain/BluePyMM/coverage.svg?branch=master" alt="coverage" />
46-
</a>
47-
</td>
48-
</tr>
49-
<tr>
50-
<td>Gitter</td>
51-
<td>
52-
<a href="https://gitter.im/bluebrain/bluepymm">
53-
<img src="https://badges.gitter.im/Join%20Chat.svg" />
54-
</a>
55-
</td>
56-
</tr>
57-
<tr>
58-
<td>Citation</td>
59-
<td>
60-
<a href="https://doi.org/10.5281/zenodo.8146238">
61-
<img src="https://zenodo.org/badge/DOI/10.5281/zenodo.8146238.svg" alt="DOI"/>
62-
</a>
63-
</td>
64-
</tr>
65-
</table>
6+
+----------------+------------+
7+
| Latest Release | |pypi| |
8+
+----------------+------------+
9+
| Documentation | |docs| |
10+
+----------------+------------+
11+
| License | |license| |
12+
+----------------+------------+
13+
| Build Status | |tests| |
14+
+----------------+------------+
15+
| Coverage | |coverage| |
16+
+----------------+------------+
17+
| Citation | |zenodo| |
18+
+----------------+------------+
19+
| Gitter | |gitter| |
20+
+----------------+------------+
6621

6722
Introduction
6823
------------
@@ -110,7 +65,7 @@ We are providing support using a chat channel on `Gitter <https://gitter.im/Blue
11065
Requirements
11166
------------
11267

113-
* `Python 3.7+ <https://www.python.org/downloads/release/python-360/>`_
68+
* `Python 3.9+ <https://www.python.org/downloads/release/python-390/>`_
11469
* `Neuron 7.4+ <http://neuron.yale.edu/>`_
11570
* `eFEL eFeature Extraction Library <https://github.com/BlueBrain/eFEL>`_
11671
* `BluePyOpt <https://github.com/BlueBrain/BluePyOpt>`_
@@ -174,7 +129,29 @@ Programme for Research and Innovation under the Specific Grant Agreement No. 945
174129
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),
175130
from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.
176131

177-
Copyright (c) 2016-2022 Blue Brain Project/EPFL
132+
Copyright (c) 2016-2024 Blue Brain Project/EPFL
133+
134+
.. |pypi| image:: https://img.shields.io/pypi/v/bluepymm.svg
135+
:target: https://pypi.org/project/bluepymm/
136+
:alt: latest release
137+
.. |docs| image:: https://readthedocs.org/projects/bluepymm/badge/?version=latest
138+
:target: https://bluepymm.readthedocs.io/en/latest/
139+
:alt: latest documentation
140+
.. |license| image:: https://img.shields.io/pypi/l/bluepymm.svg
141+
:target: https://github.com/BlueBrain/bluepymm/blob/master/LICENSE.txt
142+
:alt: license
143+
.. |tests| image:: https://github.com/BlueBrain/BluePyMM/workflows/Build/badge.svg?branch=master
144+
:target: https://github.com/BlueBrain/BluePyMM/actions
145+
:alt: Actions build status
146+
.. |coverage| image:: https://codecov.io/github/BlueBrain/BluePyMM/coverage.svg?branch=master
147+
:target: https://codecov.io/gh/BlueBrain/bluepymm
148+
:alt: coverage
149+
.. |gitter| image:: https://badges.gitter.im/Join%20Chat.svg
150+
:target: https://gitter.im/bluebrain/bluepymm
151+
:alt: gitter
152+
.. |zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.8146238.svg
153+
:target: https://doi.org/10.5281/zenodo.8146238
154+
:alt: DOI
178155

179156
..
180157
The following image is also defined in the index.rst file, as the relative path is

bluepymm/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2020
"""
2121

22-
from ._version import get_versions
23-
__version__ = get_versions()['version']
24-
del get_versions
25-
2622
import bluepymm.legacy # NOQA
2723

2824
from .main import run # NOQA

0 commit comments

Comments
 (0)