mirror of
https://github.com/ValdikSS/tor-relay-scanner.git
synced 2026-10-06 05:38:03 +03:00
Build script small fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
python -m pip install . --target torparse
|
||||
find torparse -path '*/__pycache__*' -delete
|
||||
python -m zipapp -m "tor_relay_scanner.scanner:main" -c torparse
|
||||
cp torparse/tor_relay_scanner/__main__.py torparse/
|
||||
python -m zipapp -c -p '/usr/bin/env python3' torparse
|
||||
|
||||
@@ -20,7 +20,8 @@ packages = find:
|
||||
python_requires = >=3.7
|
||||
#install_requires = requests[socks]
|
||||
install_requires =
|
||||
requests[socks] @ https://github.com/psf/requests/archive/8c86fb111b955ea76439199821973c40a70a19a2.zip
|
||||
requests[socks]@https://github.com/psf/requests/archive/8c86fb111b955ea76439199821973c40a70a19a2.zip ;platform_system=='Windows'
|
||||
requests[socks] ;platform_system!='Windows'
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
|
||||
Reference in New Issue
Block a user