-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create setup.py or pyproject.toml and support system wide installation #596
Comments
This was referenced Nov 10, 2020
blshkv
changed the title
create setup.py and support system wide installation
create setup.py or pyproject.toml and support system wide installation
Nov 20, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a common problem that many tools which we want to distribute do not support system wide installation. Some of these tools provide their own "install.sh" or "setup.sh" with a distro specific commands (sudo apt-install) to install dependencies instead of a proper setup.py/pyproject.toml (PEP 517).
With a proper setup.py script, an end user can install it using the following single command:
python3 setup.py install --user
. It also a distro friendly and makes life for maintainers easier.The end result, a FHS compliant directory structure should be created.
In case if software produce any output, a local user directory should be used, such as
~./<software>/
There are some custom cases (installing non-python packages, data files etc) which have been resolved in other packages. Bellow, are reference points on such bug reports with solutions (patches)
derv82/wifite2#102
laramies/theHarvester#52
commixproject/commix#433
pwndbg/pwndbg#598
j3ssie/osmedeus#13 (failed to fix)
BC-SECURITY/Empire#39
s0lst1c3/eaphammer#73
Ekultek/WhatWaf#628 (failed and refused to fix)
trustedsec/social-engineer-toolkit#622 (failed to fix)
xmendez/wfuzz#93
Veil-Framework/Veil#243
andresriancho/w3af#17500
shenril/Sitadel#36
swisskyrepo/Wordpresscan#37
sqlmapproject/sqlmap#746
Arachni/arachni#474
owtf/owtf#725
https://github.com/entynetproject/proton/issues/4
aboul3la/Sublist3r#129
mschwager/fierce#25 (failed to fix)
jborean93/ntlm-auth#6
Veil-Framework/Veil#243
ShielderSec/webtech#15
byt3bl33d3r/CrackMapExec#415
dpnishant/appmon#109
MobSF/Mobile-Security-Framework-MobSF#1585
maurosoria/dirsearch#176
savio-code/fern-wifi-cracker#152
hugsy/gef#759 (failed to fix)
lgandx/Responder#175 (refused to fix)
shenril/Sitadel#48
The text was updated successfully, but these errors were encountered: