Skip to content

Commit

Permalink
change req dep
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Aug 18, 2023
1 parent 9dc0a4c commit fe125d5
Showing 1 changed file with 36 additions and 22 deletions.
58 changes: 36 additions & 22 deletions setup.py
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",
],
)

0 comments on commit fe125d5

Please sign in to comment.