Build script small fixes

This commit is contained in:
ValdikSS
2023-03-14 21:42:20 +03:00
parent b452cabaa3
commit 8e2e2cef07
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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
+2 -1
View File
@@ -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