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