Files
2022-09-16 01:01:46 +02:00

70 lines
1.5 KiB
Python

from setuptools import setup, find_packages
import re
from setuptools_rust import Binding, RustExtension
VERSIONFILE="aardwolf/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(
# Application name:
name="aardwolf",
# Version number (initial):
version=verstr,
# Application author details:
author="Tamas Jos",
author_email="info@skelsecprojects.com",
# Packages
packages=find_packages(),
# Include additional files into the package
include_package_data=True,
# Details
url="https://github.com/skelsec/aardwolf",
zip_safe = False,
#
# license="LICENSE.txt",
description="Asynchronous RDP protocol implementation",
# long_description=open("README.txt").read(),
python_requires='>=3.7',
rust_extensions=[RustExtension("rle", 'aardwolf/utils/rle/Cargo.toml', binding=Binding.PyO3)],
install_requires=[
'unicrypto>=0.0.9',
'asyauth>=0.0.3',
'asysocks>=0.2.2',
'minikerberos>=0.3.1',
'tqdm',
'colorama',
'asn1crypto',
'asn1tools',
'pyperclip>=1.8.2',
'arc4>=0.3.0', #faster than cryptodome
'Pillow>=9.0.0',
],
classifiers=[
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
],
entry_points={
'console_scripts': [
'ardpscan = aardwolf.examples.scanners.__main__:main',
],
}
)