Skip to content
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

Make changes to the setup.py originally suggested by @MohitS10 #83

Merged
merged 7 commits into from
Dec 6, 2017

Conversation

ccsplit
Copy link
Contributor

@ccsplit ccsplit commented Nov 8, 2017

Going off of #73, I used it as a base in order the default wordlist work in situations where it is installed as a .egg/zip instead of a folder. Also worked on getting the install to properly install all of the dependencies when running python setup.py install. The tests can also be ran by simply running python setup.py test which will use pytest-runner in order to run the current tests.

Note: These changes have been partially tested on linux.

Changed around the directory structure to have the files a part of the VHostScan
package so it could be used for pkg_resources. Also changed the DEFAULT_WORDLIST_FILE to
use pkg_resources instead of __file__. Also changed some of the imports so they are using relative
imports instead of the full path.

This appears to work with atleast the -t flag, however, more testing should be done and the tests that
already exist should be able to run when running `python setup.py test`
Changed the tests to include the proper namespace along with being able to
run the tests by using `python setup.py test`.
Numpy sometimes fails to properly install when just within the install_requires (see
[#2434](numpy/numpy#2434)) so I also added it to setup_requires.

Also changed from using scripts => entry_points:{'console_scripts'} and the command to `VHostScan`
within the README for consistency.
This was referenced Nov 8, 2017
@codingo
Copy link
Owner

codingo commented Nov 13, 2017

Not ignoring this but been a bit snowed. Hoping to get some time to review before the end of the week.

@codingo
Copy link
Owner

codingo commented Nov 22, 2017

Testing this now - do you mind resolving this with master and then we can merge @ccsplit?

@ccsplit
Copy link
Contributor Author

ccsplit commented Nov 22, 2017

@codingo, sure. I'll try to get it done by tomorrow at the latest.

* 'master' of github:codingo/VHostScan:
  Update __version__.py
  Supress insecure warnings within requests
  Update README.md
@ccsplit
Copy link
Contributor Author

ccsplit commented Nov 22, 2017

@codingo, wanted to let you know I have resolved the merge conflicts.

@codingo codingo merged commit c8f9397 into codingo:master Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants