Harry commited on
Commit
390288f
·
unverified ·
1 Parent(s): 03fc3e5

Use pyproject.toml to build (#67)

Browse files
Files changed (3) hide show
  1. pyproject.toml +35 -0
  2. setup.cfg +0 -4
  3. setup.py +0 -18
pyproject.toml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "EdgeGPT"
3
+ version = "0.0.48"
4
+ description = "Reverse engineered Edge Chat API"
5
+ readme = "README.md"
6
+ requires-python = ">=3.8"
7
+ license = {file = "LICENSE"}
8
+ keywords = ["Bing", "ChatGPT"]
9
+ authors = [
10
+ {name = "Antonio Cheong", email = "[email protected]"},
11
+ ]
12
+ maintainers = [
13
+ {name = "Antonio Cheong", email = "[email protected]"}
14
+ ]
15
+ dependencies = [
16
+ "asyncio",
17
+ "tls-client>=0.1.8",
18
+ "websockets>=10.4",
19
+ ]
20
+
21
+
22
+ [project.urls]
23
+ homepage = "https://github.com/acheong08/EdgeGPT"
24
+ releases = "https://github.com/acheong08/EdgeGPT/releases"
25
+
26
+
27
+ [build-system]
28
+ requires = [
29
+ "setuptools >= 65.5.0",
30
+ ]
31
+ build-backend = "setuptools.build_meta"
32
+
33
+
34
+ [tool.setuptools]
35
+ py-modules = ["EdgeGPT"]
setup.cfg DELETED
@@ -1,4 +0,0 @@
1
-
2
- [metadata]
3
- description_file=README.md
4
- license_files=LICENSE
 
 
 
 
 
setup.py DELETED
@@ -1,18 +0,0 @@
1
- from setuptools import find_packages
2
- from setuptools import setup
3
-
4
- setup(
5
- name="EdgeGPT",
6
- version="0.0.48",
7
- license="GNU General Public License v2.0",
8
- author="Antonio Cheong",
9
- author_email="[email protected]",
10
- description="Reverse engineered Edge Chat API",
11
- packages=find_packages("src"),
12
- package_dir={"": "src"},
13
- url="https://github.com/acheong08/EdgeGPT",
14
- install_requires=["asyncio", "tls-client", "websockets"],
15
- long_description=open("README.md", encoding="utf-8").read(),
16
- long_description_content_type="text/markdown",
17
- py_modules=["EdgeGPT"],
18
- )