Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Updated to pypi.org (tagsearch)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwrussell committed Jan 18, 2020
1 parent 10a51e2 commit 144a5f5
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions tagsearch/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def read_version(path):


def check_unreleased(version, package):
url = "https://pypi.python.org/pypi/omero-webtagging-%s/json" % package
url = "https://pypi.org/pypi/omero-webtagging-%s/json" % package
info = requests.get(url)
if not info.ok:
print("Package not registered on PyPI")
Expand Down Expand Up @@ -132,17 +132,7 @@ def now():
for remote in repo.remotes:
remote.fetch()

# Register and upload to pypi
print("Registering with pypi...")
check_call(
[
"twine",
"register",
"-r",
"pypi",
"dist/omero-webtagging-%s-%s.tar.gz" % (PACKAGE, VERSION),
]
)
# Upload to pypi
print("Uploading to pypi...")
check_call(
[
Expand Down

0 comments on commit 144a5f5

Please sign in to comment.