Skip to content

Commit

Permalink
Provide mechanism to check distribution config
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Aug 23, 2019
1 parent db761ef commit 58c4292
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ package-source:
package-wheel: package-deps
python setup.py bdist_wheel --universal

package-upload: package-deps package-source package-wheel
package-check: package-source package-wheel ## Check the distribution is valid
twine check dist/*

package-upload: package-deps package-check
twine upload dist/* --repository-url https://upload.pypi.org/legacy/

package: package-upload
Expand Down
2 changes: 1 addition & 1 deletion metsrw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

LOGGER = logging.getLogger(__name__)
LOGGER.addHandler(logging.NullHandler())
__version__ = "0.3.11"
__version__ = "0.3.12"

__all__ = [
"Agent",
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def find_version(*file_paths):
version=find_version("metsrw", "__init__.py"),
description="Library for dealing with METS files.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/artefactual-labs/mets-reader-writer/",
author="Artefactual",
author_email="info@artefactual.com",
Expand Down

0 comments on commit 58c4292

Please sign in to comment.