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

create setup.py #129

Open
blshkv opened this issue Mar 12, 2018 · 4 comments
Open

create setup.py #129

blshkv opened this issue Mar 12, 2018 · 4 comments

Comments

@blshkv
Copy link

blshkv commented Mar 12, 2018

Please create a setup.py so the tool can be installed properly.

@blshkv
Copy link
Author

blshkv commented Mar 12, 2018

there are few data (.txt ) files which you might have a problem with, see the following bug report for your references:
mschwager/fierce#25

ps. I have tried to install it properly, but the tool fails to run:

/usr/bin/sublist3r
/usr/lib64
/usr/lib64/python2.7
/usr/lib64/python2.7/site-packages
/usr/lib64/python2.7/site-packages/sublist3r
/usr/lib64/python2.7/site-packages/sublist3r/subbrute
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/__init__.py
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/__init__.pyc
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/__init__.pyo
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/names.txt
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/resolvers.txt
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/subbrute.py
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/subbrute.pyc
/usr/lib64/python2.7/site-packages/sublist3r/subbrute/subbrute.pyo
/usr/lib64/python3.5
/usr/lib64/python3.5/site-packages
/usr/lib64/python3.5/site-packages/sublist3r
/usr/lib64/python3.5/site-packages/sublist3r/subbrute
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__init__.py
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__/__init__.cpython-35.opt-1.pyc
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__/__init__.cpython-35.opt-2.pyc
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__/__init__.cpython-35.pyc
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__/subbrute.cpython-35.opt-1.pyc
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__/subbrute.cpython-35.opt-2.pyc
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/__pycache__/subbrute.cpython-35.pyc
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/names.txt
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/resolvers.txt
/usr/lib64/python3.5/site-packages/sublist3r/subbrute/subbrute.py

the error:

sublist3r 
Traceback (most recent call last):
  File "/usr/bin/sublist3r", line 21, in <module>
    from subbrute import subbrute
ImportError: No module named 'subbrute'

you will need to export it as following:

from sublist3r.subbrute import subbrute

@ghost
Copy link

ghost commented Mar 20, 2018

Your solution only works if your active interpreter is set to version 3.
If not, you will have to either disable version 2 capability or run it as a full command (i.e. python3 /usr/bin/sublist3r)

@blshkv
Copy link
Author

blshkv commented Mar 21, 2018

true, because an another empty __init__.py file must be placed under sublist3r folder.

@blshkv
Copy link
Author

blshkv commented Nov 10, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant