From 13fadf7c5f91af64aa7b0dad2fbf12f0fd85252e Mon Sep 17 00:00:00 2001 From: Adam Krellenstein Date: Wed, 22 Apr 2015 15:11:43 -0400 Subject: [PATCH] Renamed Repository --- README.md | 10 +++++----- counterpartylib/lib/check.py | 4 ---- release_procedure.md | 2 +- setup.py | 2 +- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 80fd63bb..ef8b5c62 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -[![Build Status Travis](https://travis-ci.org/CounterpartyXCP/counterpartyd.svg?branch=develop)](https://travis-ci.org/CounterpartyXCP/counterpartyd) -[![Build Status Circle](https://circleci.com/gh/CounterpartyXCP/counterpartyd.svg?&style=shield)](https://circleci.com/gh/CounterpartyXCP/counterpartyd) -[![Coverage Status](https://coveralls.io/repos/CounterpartyXCP/counterpartyd/badge.png?branch=develop)](https://coveralls.io/r/CounterpartyXCP/counterpartyd?branch=develop) +[![Build Status Travis](https://travis-ci.org/CounterpartyXCP/counterparty-lib.svg?branch=develop)](https://travis-ci.org/CounterpartyXCP/counterparty-lib) +[![Build Status Circle](https://circleci.com/gh/CounterpartyXCP/counterparty-lib.svg?&style=shield)](https://circleci.com/gh/CounterpartyXCP/counterparty-lib) +[![Coverage Status](https://coveralls.io/repos/CounterpartyXCP/counterparty-lib/badge.png?branch=develop)](https://coveralls.io/r/CounterpartyXCP/counterparty-lib?branch=develop) [![Latest Version](https://pypip.in/version/counterparty-lib/badge.svg)](https://pypi.python.org/pypi/counterparty-lib/) [![License](https://pypip.in/license/counterparty-lib/badge.svg)](https://pypi.python.org/pypi/counterparty-lib/) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/CounterpartyXCP/General) @@ -29,8 +29,8 @@ # Installation ``` -$ git clone https://github.com/CounterpartyXCP/counterpartyd.git -$ cd counterpartyd +$ git clone https://github.com/CounterpartyXCP/counterparty-lib.git +$ cd counterparty-lib $ python3 setup.py install ``` diff --git a/counterpartylib/lib/check.py b/counterpartylib/lib/check.py index 252cde5a..d847569f 100644 --- a/counterpartylib/lib/check.py +++ b/counterpartylib/lib/check.py @@ -143,10 +143,6 @@ def software_version(): try: host = 'https://counterpartyxcp.github.io/counterparty-lib/counterpartylib/protocol_changes.json' response = requests.get(host, headers={'cache-control': 'no-cache'}) - # TODO: Temporary - if response.status_code != 200: - host = 'https://counterpartyxcp.github.io/counterpartyd/counterpartylib/protocol_changes.json' # Old Location - response = requests.get(host, headers={'cache-control': 'no-cache'}) versions = json.loads(response.text) except (requests.exceptions.ConnectionError, ConnectionRefusedError, ValueError) as e: logger.warning('Unable to check version! ' + str(sys.exc_info()[1])) diff --git a/release_procedure.md b/release_procedure.md index 827ab7a9..d1bcae4e 100644 --- a/release_procedure.md +++ b/release_procedure.md @@ -12,7 +12,7 @@ * `sudo python3 setup.py sdist build` * `twine upload -s dist/$NEW_FILES` -- Write [Release Notes](https://github.com/CounterpartyXCP/counterpartyd/releases) +- Write [Release Notes](https://github.com/CounterpartyXCP/counterparty-lib/releases) - Update documentation (as appropriate) **@ivanazuber:**: diff --git a/setup.py b/setup.py index db46aee6..b1d10dfa 100644 --- a/setup.py +++ b/setup.py @@ -198,7 +198,7 @@ def run(self): "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Distributed Computing" ], - 'download_url': 'https://github.com/CounterpartyXCP/counterpartyd/releases/tag/v' + CURRENT_VERSION, + 'download_url': 'https://github.com/CounterpartyXCP/counterparty-lib/releases/tag/v' + CURRENT_VERSION, 'provides': ['counterpartylib'], 'packages': find_packages(), 'zip_safe': False,