adamjakab / BeetsPluginXtractor

A beets plugin for obsessive-compulsive music geeks to add low and high level musical information to their songs.
MIT License
37 stars 4 forks source link

Fix setup.py deprecation in pythonpublish gh-actions workflow #27

Closed JOJ0 closed 3 months ago

JOJ0 commented 1 year ago

Fix this deprecation warning in our actions workflow before next release:

/opt/hostedtoolcache/Python/3.10.9/x64/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.

Probably something like that will do:

python -m build
adamjakab commented 3 months ago

@JOJ0 - Done. Built a new pipeline. If you publish a new version tag (also remember to bump it up in /beetsplug/xtractor/about.py) the GH Action pipeline will be triggered, run the tests, create a new release and deploy on pypi.