diff --git a/python/MANIFEST.in b/python/MANIFEST.in new file mode 100644 index 0000000..e4fbe95 --- /dev/null +++ b/python/MANIFEST.in @@ -0,0 +1 @@ +include erc20_pool/data/*.* *requirements.txt man/build/*.1 diff --git a/python/setup.cfg b/python/setup.cfg new file mode 100644 index 0000000..744348a --- /dev/null +++ b/python/setup.cfg @@ -0,0 +1,33 @@ +[metadata] +name = erc20-pool +version = 0.0.1 +description = Permissioned ERC20 swap pool for EVM +author = Louis Holbrook +author_email = dev@holbrook.no +url = https://holbrook.no/src/erc20-pool/log.html +keywords = + dlt + blockchain + cryptocurrency + ethereum +classifiers = + Programming Language :: Python :: 3 + Operating System :: OS Independent + Development Status :: 3 - Alpha + Topic :: Software Development :: Libraries + Environment :: Console + Intended Audience :: Developers + License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+) + Topic :: Internet +# Topic :: Blockchain :: EVM +license = AGPLv3+ +licence_files = + LICENSE + +[options] +include_package_data = True +python_requires = >= 3.8 +packages = + erc20_pool + erc20_pool.unittest + erc20_pool.data diff --git a/python/setup.py b/python/setup.py new file mode 100644 index 0000000..d189a66 --- /dev/null +++ b/python/setup.py @@ -0,0 +1,26 @@ +from setuptools import setup +import os + + +requirements = [] +f = open('requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + requirements.append(l.rstrip()) +f.close() + +test_requirements = [] +f = open('test_requirements.txt', 'r') +while True: + l = f.readline() + if l == '': + break + test_requirements.append(l.rstrip()) +f.close() + +setup( + install_requires=requirements, + tests_require=test_requirements, + )