项目文件夹

文件
Gelei Deng bb768c1f13 Openai compatability (#231)
* fix: 🐛 fix OPENAI key setting issue and update readme

* feat: 🎸 update gpt4o

* style: format code with Black

This commit fixes the style issues introduced in 99581a8 according to the output
from Black.

Details: https://github.com/GreyDGL/PentestGPT/pull/229

* fix: 🐛 fix OPENAI_KEY typo

* style: format code with Black

This commit fixes the style issues introduced in 8f9091c according to the output
from Black.

Details: https://github.com/GreyDGL/PentestGPT/pull/230

* feat: 🎸 update openai python sdk

---------

Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
2024-05-15 14:57:46 +08:00

43 行
1.5 KiB
Python

import os
from collections import OrderedDict
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as f:
dependencies = f.read().strip().split("\n")
setup(
name="pentestgpt",
version="0.13.3",
description="PentestGPT, a GPT-empowered penetration testing tool",
long_description="""
PentestGPT is a penetration testing tool empowered by ChatGPT.
It is designed to automate the penetration testing process. It
is prototyped initially on top of ChatGPT and operate in an
interactive mode to guide penetration testers in both overall
progress and specific operations.
""",
author="Gelei Deng",
author_email="gelei.deng@ntu.edu.sg",
maintainer="Gelei Deng",
maintainer_email="gelei.deng@ntu.edu.sg",
url="https://github.com/GreyDGL/PentestGPT",
project_urls=OrderedDict(
(
("Code", "https://github.com/GreyDGL/PentestGPT"),
("Issue tracker", "https://github.com/GreyDGL/PentestGPT/issues"),
)
),
license="MIT License",
packages=["pentestgpt"] + find_packages(),
# packages=find_packages(),
# scripts=['pentestgpt/main.py'],
install_requires=dependencies,
entry_points={
"console_scripts": [
"pentestgpt=pentestgpt.main:main",
"pentestgpt-cookie=pentestgpt.extract_cookie:main",
"pentestgpt-connection=pentestgpt.test_connection:main",
]
},
)