mirror of
https://github.com/grassrootseconomics/erc20-pool.git
synced 2024-12-25 01:17:32 +01:00
Add packaging
This commit is contained in:
parent
89b92ef7de
commit
51f03be466
1
python/MANIFEST.in
Normal file
1
python/MANIFEST.in
Normal file
@ -0,0 +1 @@
|
||||
include erc20_pool/data/*.* *requirements.txt man/build/*.1
|
33
python/setup.cfg
Normal file
33
python/setup.cfg
Normal file
@ -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
|
26
python/setup.py
Normal file
26
python/setup.py
Normal file
@ -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,
|
||||
)
|
Loading…
Reference in New Issue
Block a user