Commit 9be0b29
committed
Move project metadata/config to pyproject.toml
We also remove both the setup.cfg and setup.py files as they are not
required by newer versions of pip and setuptools (but for this we also
need to bump the setuptools version).
If you are getting this error locally after the upgrade:
ERROR: Project file:///home/luca/devel/frequenz-sdk-python has
a 'pyproject.toml' and its build backend is missing the
'build_editable' hook. Since it does not have a 'setup.py' nor
a 'setup.cfg', it cannot be installed in editable mode. Consider using
a build backend that supports PEP 660.
You might need to upgrade the dependencies in your local virtual
environment (re-run `python -m pip install -e .`).
We now need to depend on `pyproject.toml` too to cache dependencies in
the CI.
Signed-off-by: Leandro Lucarella <[email protected]>1 parent 3f8b8a6 commit 9be0b29
4 files changed
+35
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
9 | 41 | | |
10 | 42 | | |
11 | 43 | | |
| |||
29 | 61 | | |
30 | 62 | | |
31 | 63 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 64 | | |
36 | 65 | | |
37 | 66 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments