-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
26 lines (23 loc) · 1013 Bytes
/
setup.py
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
from setuptools import setup, find_packages
from src.slingerpkg import __version__
from src.slingerpkg import __package__
def parse_requirements(filename):
with open(filename, 'r') as file:
return [line.strip() for line in file.readlines() if line.strip()]
required_packages = parse_requirements('requirements.txt')
setup(
name=__package__,
version=__version__,
package_dir={'': 'src'}, # Tells setuptools where to find the packages
packages=find_packages(where='src'), # Automatically find packages in the 'src' directory
install_requires=required_packages,
author="ghost-ng",
author_email="[email protected]",
description="An impacket swiss army knife (sort of)",
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
url="https://github.com/ghost-ng/slinger",
python_requires='>=3.10',
scripts=['src/slinger.py'],
data_files=[('src/slingerpkg/plugins', ['src/slingerpkg/plugins/my_plugin.py'])],
)