Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update setup.py

Omar Khattab03ed2800c73a
diff --git a/setup.py b/setup.py
index 450872af2..7892662bc 100644
--- a/setup.py
+++ b/setup.py
@@ -1,30 +1,29 @@
from setuptools import setup, find_packages
+# Read the content of the README file
+with open('README.md', 'r', encoding='utf-8') as f:
+ long_description = f.read()
+
+# Read the content of the requirements.txt file
+with open('requirements.txt', 'r', encoding='utf-8') as f:
+ requirements = f.read().splitlines()
+
setup(
name="dspy-ai",
version="2.0.3",
description="DSPy",
+ long_description=long_description,
+ long_description_content_type='text/markdown',
url="https://github.com/stanfordnlp/dsp",
author="Omar Khattab",
author_email="[email protected]",
license="MIT License",
packages=find_packages(include=['dsp.*', 'dspy.*', 'dsp', 'dspy']),
python_requires='>=3.9',
- install_requires=[
- "backoff",
- "joblib",
- "jupyter",
- "openai",
- "pandas",
- "spacy",
- "regex",
- "ujson",
- "tqdm",
- "datasets",
- ],
+ install_requires=requirements,
classifiers=[
- "Development Status :: 3 - Alpha",
- "Intended Audience :: Science/Research",
+ "Development Status :: 3 - Alpha",
+ "Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",