tianocore / edk2-basetools

EDK II BaseTools Python tools as a PIP module
Other
25 stars 35 forks source link

Add pyproject.toml and fix setup.py deprecation warnings #116

Closed ghost closed 8 months ago

ghost commented 8 months ago

Modern Python projects should use pyproject.toml to describe their projects since "setup.py install" is deprecated.

Update setup.py to remove setuptools_scm which was unused, and move version handling into a get_version function.

Add pyproject.toml with the information from setup.py.

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8d9b898) 4.27% compared to head (13f72c9) 4.26%. Report is 5 commits behind head on master.

:exclamation: Current head 13f72c9 differs from pull request most recent head 90491a0. Consider uploading reports for the commit 90491a0 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #116 +/- ## ========================================= - Coverage 4.27% 4.26% -0.01% ========================================= Files 182 182 Lines 81605 81810 +205 ========================================= + Hits 3490 3492 +2 - Misses 78115 78318 +203 ``` | [Flag](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/116/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | Coverage Δ | | |---|---|---| | [Linux](https://app.codecov.io/gh/tianocore/edk2-basetools/pull/116/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) | `4.26% <ø> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.