eth-erc20

ERC20 interface and example giftable token contract
Log | Files | Refs | LICENSE

commit 99679fe99f5f54716cf74f1b3a18131cb9659b6c
parent b6f116a260b95e71fefbd1f1c5601650217d5871
Author: nolash <dev@holbrook.no>
Date:   Tue,  8 Dec 2020 18:02:14 +0100

Add missing package path in setup config

Diffstat:
Mpython/MANIFEST.in | 2+-
Mpython/setup.cfg | 5++++-
Mpython/setup.py | 7+++++++
3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/python/MANIFEST.in b/python/MANIFEST.in @@ -1 +1 @@ -include **/*.abi.json +include **/data/*.abi.json **/data/*.bin diff --git a/python/setup.cfg b/python/setup.cfg @@ -24,12 +24,15 @@ licence_files = include_package_data = True python_requires = >= 3.6 packages = + giftable_erc20_token giftable_erc20_token.runnable install_requires = web3==5.12.2 [options.package_data] -* = **/*.abi.json +* = + data/GiftableToken.abi.json + data/GiftableToken.bin [options.entry_points] console_scripts = diff --git a/python/setup.py b/python/setup.py @@ -1,4 +1,11 @@ from setuptools import setup setup( + package_data={ + '': [ + 'data/GiftableToken.abi.json', + 'data/GiftableToken.bin', + ], + }, + include_package_data=True, )