erc20-pool

Permissioned ERC20 swap pool for EVM
Log | Files | Refs | README

commit 51f03be466650003d26eb3a4503459d850aeffa2
parent 89b92ef7def79caffd3e569880628a11878509d2
Author: lash <dev@holbrook.no>
Date:   Fri, 28 Jul 2023 14:09:45 +0100

Add packaging

Diffstat:
Apython/MANIFEST.in | 1+
Apython/setup.cfg | 33+++++++++++++++++++++++++++++++++
Apython/setup.py | 26++++++++++++++++++++++++++
3 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/python/MANIFEST.in 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 @@ -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 @@ -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, + )