-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,53 @@ | ||
from setuptools import setup | ||
|
||
# read the contexts of requirements.txt into an array | ||
with open('requirements.txt') as f: | ||
required = f.read().splitlines() | ||
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] | ||
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) | ||
long_description = "\n".join(long_description) | ||
|
||
|
||
setup( | ||
name='agentcomms', | ||
version='0.2.2', | ||
description='Social media connectors for agents', | ||
name="agentcomms", | ||
version="0.2.2", | ||
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'], | ||
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", | ||
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' | ||
"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", | ||
], | ||
) |