mirror of
https://github.com/chaintool-py/eth-erc20.git
synced 2024-11-26 03:36:47 +01:00
Use requirements file for deps
This commit is contained in:
parent
861a9b032a
commit
717156b013
@ -1,2 +1,3 @@
|
||||
web3==5.12.2
|
||||
chainlib~=0.0.1a15
|
||||
confini~=0.3.6rc3
|
||||
crypto-dev-signer~=0.4.14a5
|
||||
chainlib~=0.0.1a28
|
||||
|
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = giftable-erc20-token
|
||||
version = 0.0.8a1
|
||||
version = 0.0.8a2
|
||||
description = Simple ERC20 contract with deployment script that lets any address mint and gift itself tokens.
|
||||
author = Louis Holbrook
|
||||
author_email = dev@holbrook.no
|
||||
@ -26,10 +26,7 @@ python_requires = >= 3.6
|
||||
packages =
|
||||
giftable_erc20_token
|
||||
giftable_erc20_token.runnable
|
||||
install_requires =
|
||||
web3==5.12.2
|
||||
crypto-dev-signer~=0.4.13rc2
|
||||
chainlib~=0.0.1a15
|
||||
giftable_erc20_token.data
|
||||
|
||||
[options.package_data]
|
||||
* =
|
||||
|
@ -1,5 +1,24 @@
|
||||
from setuptools import setup
|
||||
|
||||
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(
|
||||
package_data={
|
||||
'': [
|
||||
@ -8,4 +27,6 @@ setup(
|
||||
],
|
||||
},
|
||||
include_package_data=True,
|
||||
install_requires=requirements,
|
||||
tests_require=test_requirements,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user