pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

routersploit: Add install_requires to setup.py



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Thu Jan 25 21:59:16 2018 +0100
Changeset:	6b0c699928c029157a369f253c94928b08da25fc

Modified Files:
	routersploit/PLIST
	routersploit/files/setup.py

Log Message:
routersploit: Add install_requires to setup.py

Register needed dependencies via install_requires of setup.py too
and update PLIST accordingly.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6b0c699928c029157a369f253c94928b08da25fc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 routersploit/PLIST          | 1 +
 routersploit/files/setup.py | 6 ++++++
 2 files changed, 7 insertions(+)

diffs:
diff --git a/routersploit/PLIST b/routersploit/PLIST
index ff062ff5cb..86df9337eb 100644
--- a/routersploit/PLIST
+++ b/routersploit/PLIST
@@ -3,6 +3,7 @@ bin/rsf.py
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/routersploit/__init__.py
 ${PYSITELIB}/routersploit/__init__.pyc
diff --git a/routersploit/files/setup.py b/routersploit/files/setup.py
index 75590ffa5e..d2f5d5078d 100644
--- a/routersploit/files/setup.py
+++ b/routersploit/files/setup.py
@@ -13,6 +13,12 @@ setup(
 	license = "BSD",
 	url = "https://github.com/reverse-shell/routersploit";,
 	packages=find_packages(),
+	install_requires=[
+		'requests>=2.9.1',
+		'paramiko>=1.16.0',
+		'beautifulsoup4>=4.4.1',
+		'pysnmp>=4.3.2',
+	],
 	package_data = {'' : ['*.txt']},
 	include_package_data = True,
 	scripts = ('rsf.py',)


Home | Main Index | Thread Index | Old Index