Include unittest modules
This commit is contained in:
parent
6f44c8304f
commit
a7b0858baa
1
Makefile
1
Makefile
@ -43,6 +43,7 @@ doc:
|
|||||||
readme:
|
readme:
|
||||||
make -C doc/texinfo readme
|
make -C doc/texinfo readme
|
||||||
pandoc -f docbook -t gfm doc/texinfo/build/docbook.xml > README.md
|
pandoc -f docbook -t gfm doc/texinfo/build/docbook.xml > README.md
|
||||||
|
cp -v README.md python/README.md
|
||||||
|
|
||||||
python:
|
python:
|
||||||
make -C python
|
make -C python
|
||||||
|
@ -734,7 +734,7 @@ Solidity interface definition
|
|||||||
function deleteWriter(address _writer) external returns (bool);
|
function deleteWriter(address _writer) external returns (bool);
|
||||||
|
|
||||||
// Check whether the given address is a writer.
|
// Check whether the given address is a writer.
|
||||||
function isWriter(address _writer) external returns (bool);
|
function isWriter(address _writer) external view returns (bool);
|
||||||
}
|
}
|
||||||
|
|
||||||
Example implementation
|
Example implementation
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
INPUTS = $(wildcard solidity/*.sol)
|
INPUTS = $(wildcard solidity/*.sol)
|
||||||
OUTPUTS = $(patsubst %.sol, %.bin, $(INPUTS))
|
OUTPUTS = $(patsubst %.sol, %.bin, $(INPUTS))
|
||||||
|
|
||||||
all: outs package
|
all: outs readme package
|
||||||
|
|
||||||
.SUFFIXES: .sol .bin
|
.SUFFIXES: .sol .bin
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = cic-contracts
|
name = cic-contracts
|
||||||
version = 0.3.0
|
version = 0.3.2
|
||||||
description = CIC network smart contract interfaces
|
description = CIC network smart contract interfaces
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
@ -26,8 +26,19 @@ licence_files =
|
|||||||
|
|
||||||
[options]
|
[options]
|
||||||
include_package_data = True
|
include_package_data = True
|
||||||
python_requires = >= 3.7
|
python_requires = >= 3.8
|
||||||
packages =
|
packages =
|
||||||
cic_contracts
|
cic_contracts
|
||||||
|
cic_contracts.unittest
|
||||||
eth_capped
|
eth_capped
|
||||||
|
eth_capped.unittest
|
||||||
eth_expire
|
eth_expire
|
||||||
|
eth_expire.unittest
|
||||||
|
eth_seal
|
||||||
|
eth_seal.unittest
|
||||||
|
eth_burner
|
||||||
|
eth_burner.unittest
|
||||||
|
eth_minter
|
||||||
|
eth_minter.unittest
|
||||||
|
eth_writer
|
||||||
|
eth_writer.unittest
|
||||||
|
@ -21,8 +21,16 @@ while True:
|
|||||||
test_requirements.append(l.rstrip())
|
test_requirements.append(l.rstrip())
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
f = open('README.md', 'r')
|
||||||
|
description = f.read()
|
||||||
|
f.close()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
tests_require=test_requirements,
|
tests_require=test_requirements,
|
||||||
|
long_description=description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
|
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user