-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
30 lines (26 loc) · 901 Bytes
/
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
from setuptools import setup, find_packages
from pathlib import Path
with open(Path(__file__).absolute().parents[0] / "cmdgpt" / "VERSION") as _f:
__version__ = _f.read().strip()
with open("README-en.md", "r", encoding="utf-8") as f:
long_description = f.read()
install_requires = ["requests", "colorama"]
setup(
name="cmdgpt",
version=__version__,
packages=find_packages(),
description="Interact with the command line using natural language | 用自然语言操控命令行",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=install_requires,
license="MIT",
url="https://github.com/MZhao-ouo/CMDGPT",
author="MZhao",
author_email="[email protected]",
entry_points={
"console_scripts": [
"cmdgpt=cmdgpt.main:main"
],
},
include_package_data=True,
)