-
Notifications
You must be signed in to change notification settings - Fork 2k
/
setup.py
46 lines (39 loc) · 1.34 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
from setuptools import find_packages, setup
LATEST_VERSION = "0.10.3"
exclude_packages = [
"selenium",
"webdriver",
"fastapi",
"fastapi.*",
"uvicorn",
"jinja2",
"gpt-researcher",
"langgraph"
]
with open(r"README.md", "r", encoding="utf-8") as f:
long_description = f.read()
with open("requirements.txt", "r") as f:
reqs = [line.strip() for line in f if not any(pkg in line for pkg in exclude_packages)]
setup(
name="gpt-researcher",
version=LATEST_VERSION,
description="GPT Researcher is an autonomous agent designed for comprehensive web research on any task",
package_dir={'gpt_researcher': 'gpt_researcher'},
packages=find_packages(exclude=exclude_packages),
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/assafelovic/gpt-researcher",
author="Assaf Elovic",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
install_requires=reqs,
)