-
-
Notifications
You must be signed in to change notification settings - Fork 579
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 a proper setup.py and support system-wide installation #39
Comments
https://github.com/laramies/theHarvester/pull/229/files |
https://www.kali.org/news/kali-default-non-root-user/ this news came up just in time. Hopefully, you can put more effort now |
@blshkv We have been working to update the install file and a few other bug fixes. But this is definitely on our list to accomplish soon. Thank you. |
@blshkv I am new to the Python ecosystem, so forgive my ignorance, but I am trying to figure out how this would work for an application like Empire which requires quite a few things installed outside of Python to work properly such as Powershell. Do you have any examples of application with a similar problem? |
setup.py is used to install python packages only (including python bindings). Non-python packages should be installed separately (using "pkg-manager install powershell"), you can provide a shell script for users' convenience, but that's hard and useless usually as you would have to detect user's OS and call a specific package manager for each distro. The goal should be to create a distro package, so end-user would simply run "pkg-manager install empire". |
@blshkv this project is using poetry, no need for a setup.py file ;) https://github.com/BC-SECURITY/Empire/blob/master/pyproject.toml |
Thanks, I noticed. However, it does not install anything. I'm not an expert here, but it may be that the EDIT: also, a system-wide installation (the tool is installed via package manager and run as a regular user) is still not supported |
pentoo/pentoo-overlay#596
I'm not sure if I need to explain.
It should be possible to install the tool using the standard command:
python setup.py install
or
python setup.py install --user
Once started, it should create a local folder for each user and do post-configuration (certs, database) in a local folder, something like
~./empire/*
This is important for distro packaging (I'm pentoo developer). It simplifies maintenance process, which includes installation, supports multi-python env (python2, 3.5-3.8) etc.
The text was updated successfully, but these errors were encountered: