From c0f845df3229a8a48ff9c8829c7a348c25969c36 Mon Sep 17 00:00:00 2001 From: nolash Date: Thu, 19 Nov 2020 18:09:23 +0100 Subject: [PATCH] Add package data --- python/setup.cfg | 7 ++++++- python/setup.py | 9 +++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/python/setup.cfg b/python/setup.cfg index eff01b9..5162446 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -21,8 +21,13 @@ licence_files = LICENSE.txt [options] +include_package_data = True python_requires = >= 3.6 packages = + eth_accounts_index install_requires = - confini==0.2.1 + confini==0.2.7 web3==5.12.2 + +[options.package_data] +* = **/*.abi.json diff --git a/python/setup.py b/python/setup.py index 9ece291..0f9b799 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,6 +1,11 @@ from setuptools import setup setup( - scripts=[ - ] + package_data={ + '': [ + 'data/*.abi.json', + 'data/*.bin', + ], + }, + include_package_data=True, )