bskinn / sphobjinv

Toolkit for manipulation and inspection of Sphinx objects.inv files
https://sphobjinv.readthedocs.io
MIT License
78 stars 9 forks source link

Setup: Modernize to license_files and improve __version__ #243

Closed bskinn closed 2 years ago

bskinn commented 2 years ago

The old license_file setup.cfg field is deprecated, with the list-based license_files now preferred. Fixed.

Improved the retrieval of __version__ from within the package by using an intermediary namespace dict with exec(), and recovering the retrieved value from that.

Is the PR a fix or a feature?

Describe the changes in the PR

Does this PR close any issues?

Does the PR change/update the following, if relevant?

codecov-commenter commented 2 years ago

Codecov Report

Merging #243 (f8e5671) into main (db59d0d) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines          671       671           
=========================================
  Hits           671       671           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update db59d0d...f8e5671. Read the comment docs.