Commit 4786423e by Leonardo Taccari Committed by Marcin Bury

setup.py improvements and routersploit/resources/ installation via MANIFEST.in (#494)

* Install rsf.py

* Add an __init__.py in routersploit/resources

Previously, without it, routersploit/resources/wordlists code were not properly
picked up by setup.py.

* Add a MANIFEST.in in order to install all needed package files

Previously package files in resources subdirectories (i.e. ssh_keys, vendors
and wordlists) were not installed as part of setup.py.
parent 4b641bb1
recursive-include routersploit/resources/ssh_keys *.json *.key
recursive-include routersploit/resources/vendors *.dat
recursive-include routersploit/resources/wordlists *.txt
...@@ -15,6 +15,7 @@ setup( ...@@ -15,6 +15,7 @@ setup(
download_url="https://github.com/threat9/routersploit/", download_url="https://github.com/threat9/routersploit/",
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
scripts=('rsf.py',),
entry_points={}, entry_points={},
install_requires=[ install_requires=[
"future", "future",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment