forked from acheong08/EdgeGPT
-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
56 lines (53 loc) · 1.78 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
from pathlib import Path
from setuptools import find_packages
from setuptools import setup
DOCS_PATH = Path(__file__).parents[0] / "docs/README.md"
PATH = Path("README.md")
if not PATH.exists():
with Path.open(DOCS_PATH, encoding="utf-8") as f1:
with Path.open(PATH, "w+", encoding="utf-8") as f2:
f2.write(f1.read())
setup(
name="EdgeGPT",
version="0.14.1",
license="The Unlicense",
author="Antonio Cheong",
author_email="acheong@student.dalat.org",
description="Reverse engineered API of Microsoft Copilot AI",
packages=find_packages("src"),
package_dir={"": "src"},
url="https://github.com/jacobgelling/EdgeGPT",
project_urls={
"Bug Report": "https://github.com/jacobgelling/EdgeGPT/issues/new",
"Source": "https://github.com/jacobgelling/EdgeGPT",
},
entry_points={
"console_scripts": [
"edge-gpt = EdgeGPT.main:main",
"edge-gpt-image = EdgeGPT.ImageGen:main",
],
},
install_requires=[
"httpx[socks]>=0.24.0",
"aiohttp",
"websockets",
"rich",
"certifi",
"prompt_toolkit",
"requests",
"BingImageCreator>=0.4.4",
"log2d>=0.0.18"
],
long_description=Path.open(PATH, encoding="utf-8").read(),
long_description_content_type="text/markdown",
py_modules=["EdgeGPT", "EdgeUtils", "ImageGen"],
classifiers=[
"License :: OSI Approved :: The Unlicense (Unlicense)",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)