-
-
Notifications
You must be signed in to change notification settings - Fork 231
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from ccsplit/master
Make changes to the setup.py originally suggested by @MohitS10
- Loading branch information
Showing
26 changed files
with
89 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
recursive-include VHostScan *.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
lib/helpers/output_helper.py → VHostScan/lib/helpers/output_helper.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 6 additions & 9 deletions
15
lib/helpers/wordlist_helper.py → VHostScan/lib/helpers/wordlist_helper.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[aliases] | ||
test=pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
from setuptools import find_packages, setup | ||
from VHostScan.lib.core.__version__ import __version__ | ||
|
||
|
||
def dependencies(file): | ||
with open(file) as f: | ||
return f.read().splitlines() | ||
|
||
|
||
with open("README.md") as f: | ||
try: | ||
import numpy | ||
num_installed = True | ||
except ImportError: | ||
num_installed = False | ||
setup( | ||
name="VHostScan", | ||
license="GPLv3", | ||
description="A virtual host scanner that performs reverse lookups, " | ||
"can be used with pivot tools, detect catch-all" | ||
"scenarios, aliases and dynamic default pages.", | ||
long_description=f.read(), | ||
author="codingo", | ||
version=__version__, | ||
author_email="[email protected]", | ||
url="http://github.com/codingo/VHostScan", | ||
packages=find_packages(exclude=('tests')), | ||
package_data={'VHostScan': ['*.txt']}, | ||
entry_points={ | ||
'console_scripts': [ | ||
'VHostScan = VHostScan.VHostScan:main' | ||
] | ||
}, | ||
install_requires=dependencies('requirements.txt'), | ||
setup_requires=['pytest-runner', | ||
'' if num_installed else 'numpy==1.12.0'], | ||
tests_require=dependencies('test-requirements.txt'), | ||
include_package_data=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
-r requirements.txt | ||
|
||
pytest==3.2.3 | ||
pytest-mock==1.6.3 | ||
pep8==1.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters