diff --git a/python/MANIFEST.in b/python/MANIFEST.in index 4bff9ca..de3f543 100644 --- 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 index 2a6a25e..3c8bf1a 100644 --- 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 index bd1da75..2641a95 100644 --- 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, )