[Setup] Update setup to pyproject.toml
Context
Fix some issues with the pyproject.toml file.
Note that it allows also to use editable mode with : pip install -v --no-build-isolation -e .
Modified files
Modified:
-
pyproject.toml
:- fix package find/package_data to include aidge_export_cpp package without the unit_tests
- remove useless build dependency on toml
- add optional dependency on pytest
-
aidge_export_cpp/__init__.py
: use the newly generated_version.py
file instead of the oldversion.txt
file -
README.md
: add install instructions
Removed:
-
version.txt
: replaced by _version.py
Detailed major modifications
No major modification
TODO
-
Need to update dev
branch frommain
first
Merge request reports
Activity
- Resolved by Grégoire Kubler
Hi @gregkub, for information a patch to use pyproject.toml on aidge_export_cpp project.
assigned to @cguillon
requested review from @gregkub
- Resolved by Grégoire Kubler
No problem, I do it asap. Actually, in the end, may changes will be small (use _versiom.py and fix the file list for the package which did not contain all sources).
What about the pyproject.toml [tools.pylint] section which is present in some other projects? It is not present in this project, actually I do not use it, thus I suppose that I will not add it. Is it ok?
added 21 commits
-
abfb74f7...df167f3f - 20 commits from branch
eclipse/aidge:dev
- 3e664402 - [Setup] Update setup in pyproject.toml
-
abfb74f7...df167f3f - 20 commits from branch
mentioned in merge request aidge_onnx!64 (merged)
mentioned in commit f5e20099