-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
35 lines (32 loc) · 1.23 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
from setuptools import setup
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="agentbrowser",
version="0.2.2",
description="A browser for your agent, built on Playwright.",
long_description=long_description, # added this line
long_description_content_type="text/markdown", # and this line
url="https://github.com/AutonomousResearchGroup/agentbrowser",
author="Moon",
author_email="[email protected]",
license="MIT",
packages=["agentbrowser"],
install_requires=["playwright"],
readme="README.md",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"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",
],
)