forked from ai16z/agentcomms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (49 loc) · 1.54 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
from setuptools import setup
# read the contexts of requirements.txt into an array
required = [
"fastapi",
"openai",
"pydantic",
"python-multipart",
"python-dotenv",
"httpx",
"py-cord[voice]",
"twitter-api-client",
"elevenlabs",
]
long_description = ""
with open("README.md", "r") as fh:
long_description = fh.read()
# search for any lines that contain <img and remove them
long_description = long_description.split("\n")
long_description = [line for line in long_description if not "<img" in line]
# now join all the lines back together
long_description = "\n".join(long_description)
setup(
name="agentcomms",
version="0.2.3",
description="Social media connectors for agents",
long_description=long_description, # added this line
long_description_content_type="text/markdown", # and this line
url="https://github.com/AutonomousResearchGroup/agentcomms",
author="Moon",
author_email="shawmakesmagic@gmail.com",
license="MIT",
packages=[
"agentcomms",
"agentcomms.discord",
"agentcomms.twitter",
"agentcomms.adminpanel",
],
install_requires=required,
readme="README.md",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
)