add xmr-requirements.txt file

This commit is contained in:
The MMGen Project 2023-10-18 12:11:49 +00:00
commit 7871583eaa
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 3 additions and 2 deletions

View file

@ -146,7 +146,7 @@ class RPCBackends:
if caller.auth_type:
auth = 'HTTP' + caller.auth_type.capitalize() + 'Auth'
self.session.auth = getattr(requests.auth,auth)(*caller.auth)
if self.proxy:
if self.proxy: # used only by XMR for now: requires pysocks package
self.session.proxies.update({
'http': f'socks5h://{self.proxy}',
'https': f'socks5h://{self.proxy}'

View file

@ -38,7 +38,6 @@ install_requires =
ecdsa
aiohttp
requests
pysocks # xmrwallet.py
pexpect
scrypt; platform_system != "Windows" # must be installed by hand on MSYS2
semantic-version; platform_system != "Windows" # scripts/create-token.py

2
xmr-requirements.txt Normal file
View file

@ -0,0 +1,2 @@
pycryptodomex
pysocks