contract-registry

Ethereum Smart Contract key-value registry
Log | Files | Refs

commit 9d583d416b417d3b0d45b3ae7f293128b9cc3770
parent 8b673c313cc9b2ba4b9edeb854adca563c414c45
Author: nolash <dev@holbrook.no>
Date:   Wed, 24 Mar 2021 07:08:39 +0100

Rename package

Diffstat:
Apython/eth_contract_registry/__init__.py | 1+
Rpython/contract_registry/data/Registry.bin -> python/eth_contract_registry/data/Registry.bin | 0
Rpython/contract_registry/data/Registry.json -> python/eth_contract_registry/data/Registry.json | 0
Rpython/contract_registry/encoding.py -> python/eth_contract_registry/encoding.py | 0
Rpython/contract_registry/pytest/__init__.py -> python/eth_contract_registry/pytest/__init__.py | 0
Rpython/contract_registry/pytest/fixtures_registry.py -> python/eth_contract_registry/pytest/fixtures_registry.py | 0
Rpython/contract_registry/registry.py -> python/eth_contract_registry/registry.py | 0
Rpython/contract_registry/runnable/deploy.py -> python/eth_contract_registry/runnable/deploy.py | 0
Rpython/contract_registry/runnable/set.py -> python/eth_contract_registry/runnable/set.py | 0
Rpython/contract_registry/unittest/base.py -> python/eth_contract_registry/unittest/base.py | 0
Mpython/requirements.txt | 4++--
Mpython/setup.cfg | 16+++++++++-------
Mpython/setup.py | 21+++++++++++++++++++++
13 files changed, 33 insertions(+), 9 deletions(-)

diff --git a/python/eth_contract_registry/__init__.py b/python/eth_contract_registry/__init__.py @@ -0,0 +1 @@ +from .registry import Registry diff --git a/python/contract_registry/data/Registry.bin b/python/eth_contract_registry/data/Registry.bin diff --git a/python/contract_registry/data/Registry.json b/python/eth_contract_registry/data/Registry.json diff --git a/python/contract_registry/encoding.py b/python/eth_contract_registry/encoding.py diff --git a/python/contract_registry/pytest/__init__.py b/python/eth_contract_registry/pytest/__init__.py diff --git a/python/contract_registry/pytest/fixtures_registry.py b/python/eth_contract_registry/pytest/fixtures_registry.py diff --git a/python/contract_registry/registry.py b/python/eth_contract_registry/registry.py diff --git a/python/contract_registry/runnable/deploy.py b/python/eth_contract_registry/runnable/deploy.py diff --git a/python/contract_registry/runnable/set.py b/python/eth_contract_registry/runnable/set.py diff --git a/python/contract_registry/unittest/base.py b/python/eth_contract_registry/unittest/base.py diff --git a/python/requirements.txt b/python/requirements.txt @@ -1,3 +1,3 @@ confini~=0.3.6rc3 -crypto-dev-signer~=0.4.14a1 -chainlib~=0.0.1a26 +crypto-dev-signer~=0.4.14a4 +chainlib~=0.0.1a28 diff --git a/python/setup.cfg b/python/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = eth-contract-registry version = 0.5.4a1 -description = Contract registry +description = Ethereum Smart Contract key-value registry author = Louis Holbrook author_email = dev@holbrook.no url = https://gitlab.com/grassrootseconomics/cic-registry @@ -27,12 +27,14 @@ licence_files = include_package_data = True python_requires = >= 3.6 packages = - contract_registry - contract_registry.pytest + eth_contract_registry + eth_contract_registry.pytest + eth_contract_registry.unittest + eth_contract_registry.runnable [options.entry_points] console_scripts = - contract-registry-deploy = contract_registry.runnable.deploy:main - contract-registry-set = conrtact_registry.runnable.set:main - contract-registry-seal = contract_registry.runnable.seal:main - contract-registry-list = contract_registry.runnable.list:main + eth-contract-registry-deploy = eth_contract_registry.runnable.deploy:main + eth-contract-registry-set = eth_conrtact_registry.runnable.set:main + eth-contract-registry-seal = eth_contract_registry.runnable.seal:main + eth-contract-registry-list = eth_contract_registry.runnable.list:main diff --git a/python/setup.py b/python/setup.py @@ -1,5 +1,24 @@ from setuptools import setup +requirements = [] +f = open('requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + requirements.append(l.rstrip()) +f.close() + +test_requirements = [] +f = open('test_requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + test_requirements.append(l.rstrip()) +f.close() + + setup( package_data={ '': [ @@ -8,4 +27,6 @@ setup( ], }, include_package_data=True, + install_requires=requirements, + tests_require=test_requirements, )