From ed3b9e7e4c48b4f945e40d3fd0929a5de7311682 Mon Sep 17 00:00:00 2001 From: dqy <1016751306@qq.com> Date: Wed, 15 May 2024 10:32:53 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81pip=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MANIFEST.in | 2 ++ setup.py | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..04f196a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..acc425b --- /dev/null +++ b/setup.py @@ -0,0 +1,36 @@ +# pip install wheel +# python setup.py sdist bdist_wheel + +from setuptools import setup, find_packages + + +def read_file(filename: str) -> str: + """Read a file and return its content as a string. + + Args: + filename (str): The name of the file to read. + + Returns: + str: The content of the file. + """ + with open(filename, encoding="utf-8") as f: + return f.read() + + +setup( + name="backdoor_buster", + version="0.1.0", + author="ciscn", + description="A tool for integrated backdoor detection", + long_description=read_file("README.md"), + long_description_content_type="text/markdown", + url="https://git.mamahaha.work/sangge/BackDoorBuster", + packages=find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + python_requires=">=3.6", + install_requires=["reportlab" "requests" "packaging" "openai" "bs4"], +)