-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
57 lines (51 loc) · 1.69 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
57
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from setuptools import setup
import platform
# Read the requirements from the requirements.txt file
with open("requirements.txt") as fp:
install_requires = fp.read().splitlines()
if platform.system() in ["Linux", "Windows"]:
install_requires.append("AppOpener==1.7")
elif platform.system() == "Darwin": # Darwin is the system name for macOS
install_requires.append("MacAppOpener==0.0.5") # Replace with actual macOS specific package
setup(
name="gpt_computer_agent",
version="1.0.1",
description="""GPT""",
long_description="".join(open("README.md", encoding="utf-8").readlines()),
long_description_content_type="text/markdown",
url="https://github.com/khulnasoft/gpt-computer-agent",
author="KhulnaSoft DevOps",
author_email="[email protected]",
license="MIT",
packages=[
"gpt_computer_agent",
"gpt_computer_agent.agent",
"gpt_computer_agent.gui",
"gpt_computer_agent.screen",
"gpt_computer_agent.utils",
"gpt_computer_agent.audio",
],
include_package_data=True,
install_requires=[],
entry_points={
"console_scripts": ["computeragent=gpt_computer_agent.start:start"],
},
python_requires=">= 3.9",
zip_safe=False,
extras_require={
"base": install_requires,
"default": install_requires,
"agentic": ["crewai==0.30.11"],
"wakeword": ["pvporcupine", "pyaudio"],
"api": ["flask==3.0.3",],
"local_tts": [
"tensorflow==2.17.0",
"datasets[audio]==2.20.0",
"sentencepiece==0.2.0",
"torch==2.4.0",
"transformers==4.43.3",
],
},
)