File: setup.py

package info (click to toggle)
knockpy 8.0.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 324 kB
  • sloc: python: 545; makefile: 3
file content (27 lines) | stat: -rw-r--r-- 750 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from setuptools import setup
import os

def load_requirements(path):
    with open(path, "r") as f:
        return [line.strip() for line in f if line.strip() and not line.startswith("#")]

wordlist = 'wordlist' + os.sep + 'wordlist.txt'

setup(
    name='knock-subdomains',
    version='8.0.0',
    description='Knockpy Subdomains Scan',
    url='https://github.com/guelfoweb/knock',
    author='Gianni Amato',
    author_email='guelfoweb@gmail.com',
    license='GPL-3.0',
    packages=['knock'],
    package_data={"knock": [wordlist, 'report'],},
    include_package_data=True,
    install_requires=load_requirements("requirements.txt"),
    entry_points={
        'console_scripts': [
            'knockpy=knock.knockpy:main',
        ],
    }
)