Make sql requirements extras in packaging
This commit is contained in:
parent
25ffb620a9
commit
86ef9bdb56
@ -4,7 +4,7 @@ import binascii
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
# external imports
|
# external imports
|
||||||
from rlp import encode as rlp_encode
|
#from rlp import encode as rlp_encode
|
||||||
from hexathon import (
|
from hexathon import (
|
||||||
strip_0x,
|
strip_0x,
|
||||||
add_0x,
|
add_0x,
|
||||||
@ -13,6 +13,7 @@ from hexathon import (
|
|||||||
|
|
||||||
# local imports
|
# local imports
|
||||||
from crypto_dev_signer.eth.encoding import chain_id_to_v
|
from crypto_dev_signer.eth.encoding import chain_id_to_v
|
||||||
|
from crypto_dev_signer.eth.rlp import rlp_encode
|
||||||
|
|
||||||
logg = logging.getLogger().getChild(__name__)
|
logg = logging.getLogger().getChild(__name__)
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
psycopg2==2.8.6
|
|
||||||
cryptography==3.2.1
|
cryptography==3.2.1
|
||||||
pysha3==1.0.2
|
pysha3==1.0.2
|
||||||
#simple-rlp==0.1.2
|
#simple-rlp==0.1.2
|
||||||
@ -6,7 +5,6 @@ rlp==2.0.1
|
|||||||
eth-utils==1.10.0
|
eth-utils==1.10.0
|
||||||
json-rpc==1.13.0
|
json-rpc==1.13.0
|
||||||
confini~=0.3.6a3
|
confini~=0.3.6a3
|
||||||
sqlalchemy==1.3.20
|
|
||||||
coincurve==15.0.0
|
coincurve==15.0.0
|
||||||
pycrypto==2.6.1
|
pycrypto==2.6.1
|
||||||
hexathon~=0.0.1a7
|
hexathon~=0.0.1a7
|
||||||
|
14
setup.py
14
setup.py
@ -13,6 +13,15 @@ while True:
|
|||||||
requirements.append(l.rstrip())
|
requirements.append(l.rstrip())
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
sql_requirements = []
|
||||||
|
f = open('sql_requirements.txt', 'r')
|
||||||
|
while True:
|
||||||
|
l = f.readline()
|
||||||
|
if l == '':
|
||||||
|
break
|
||||||
|
sql_requirements.append(l.rstrip())
|
||||||
|
f.close()
|
||||||
|
|
||||||
test_requirements = []
|
test_requirements = []
|
||||||
f = open('test_requirements.txt', 'r')
|
f = open('test_requirements.txt', 'r')
|
||||||
while True:
|
while True:
|
||||||
@ -24,7 +33,7 @@ f.close()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="crypto-dev-signer",
|
name="crypto-dev-signer",
|
||||||
version="0.4.14a17",
|
version="0.4.14b1",
|
||||||
description="A signer and keystore daemon and library for cryptocurrency software development",
|
description="A signer and keystore daemon and library for cryptocurrency software development",
|
||||||
author="Louis Holbrook",
|
author="Louis Holbrook",
|
||||||
author_email="dev@holbrook.no",
|
author_email="dev@holbrook.no",
|
||||||
@ -39,6 +48,9 @@ setup(
|
|||||||
'crypto_dev_signer',
|
'crypto_dev_signer',
|
||||||
],
|
],
|
||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
|
extras_require={
|
||||||
|
'sql': sql_requirements,
|
||||||
|
},
|
||||||
tests_require=test_requirements,
|
tests_require=test_requirements,
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
|
Loading…
Reference in New Issue
Block a user