artefactual-labs / mets-reader-writer

Library to parse and create METS files, especially for Archivematica.
https://mets-reader-writer.readthedocs.io
GNU Affero General Public License v3.0
20 stars 13 forks source link

Provide mechanism to check distribution config #74

Closed ross-spencer closed 5 years ago

ross-spencer commented 5 years ago

Adds a package-check command to make sure the package description for pypi is valid.

Both new combinations of make recipe work as anticipated:

twine check dist/*
Checking distribution dist/metsrw-0.3.12-py2.py3-none-any.whl: Passed
Checking distribution dist/metsrw-0.3.12.tar.gz: Passed
twine upload dist/* --repository-url https://upload.pypi.org/legacy/
Enter your username:

Connected to archivematica/issues#875

ross-spencer commented 5 years ago

Less haste, more speed! Thanks Cole. Done!