From 7af722d2d593b9d4ce5806444eef7115bc8093cf Mon Sep 17 00:00:00 2001 From: nolash Date: Tue, 8 Dec 2020 16:06:24 +0100 Subject: [PATCH] Add solidity abi to package data --- python/CHANGELOG | 2 ++ python/MANIFEST.in | 1 + python/setup.cfg | 6 +++++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 python/MANIFEST.in diff --git a/python/CHANGELOG b/python/CHANGELOG index 987fd28..8fd5022 100644 --- a/python/CHANGELOG +++ b/python/CHANGELOG @@ -1,3 +1,5 @@ +* 0.0.4 + - Bundle abi in data subfolder * 0.0.3 - Add gift executable * 0.0.2 diff --git a/python/MANIFEST.in b/python/MANIFEST.in new file mode 100644 index 0000000..4bff9ca --- /dev/null +++ b/python/MANIFEST.in @@ -0,0 +1 @@ +include **/*.abi.json diff --git a/python/setup.cfg b/python/setup.cfg index 72751a6..2a6a25e 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = giftable-erc20-token -version = 0.0.3 +version = 0.0.4 description = Simple ERC20 contract with deployment script that lets any address mint and gift itself tokens. author = Louis Holbrook author_email = dev@holbrook.no @@ -21,12 +21,16 @@ licence_files = LICENSE [options] +include_package_data = True python_requires = >= 3.6 packages = giftable_erc20_token.runnable install_requires = web3==5.12.2 +[options.package_data] +* = **/*.abi.json + [options.entry_points] console_scripts = giftable-token-deploy = giftable_erc20_token.runnable.deploy:main