2023-05-18 00:17:35 -04:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
2023-05-23 15:11:05 -04:00
|
|
|
def readme():
|
2023-05-23 22:35:39 -04:00
|
|
|
with open('README.md', encoding='utf-8') as f:
|
2023-05-23 15:11:05 -04:00
|
|
|
return f.read()
|
|
|
|
|
2023-05-18 00:17:35 -04:00
|
|
|
setup(
|
2024-10-30 04:33:01 +11:00
|
|
|
name="chainforge",
|
2025-03-02 10:44:48 -05:00
|
|
|
version="0.3.4.2",
|
2023-05-18 00:17:35 -04:00
|
|
|
packages=find_packages(),
|
|
|
|
author="Ian Arawjo",
|
|
|
|
description="A Visual Programming Environment for Prompt Engineering",
|
2023-05-23 15:11:05 -04:00
|
|
|
long_description=readme(),
|
2024-10-30 04:33:01 +11:00
|
|
|
long_description_content_type="text/markdown",
|
|
|
|
keywords="prompt engineering LLM response evaluation",
|
2023-05-23 15:11:05 -04:00
|
|
|
license="MIT",
|
2023-05-18 00:17:35 -04:00
|
|
|
url="https://github.com/ianarawjo/ChainForge/",
|
|
|
|
install_requires=[
|
|
|
|
# Package dependencies
|
2023-05-23 14:29:44 -04:00
|
|
|
"flask>=2.2.3",
|
2023-05-18 00:17:35 -04:00
|
|
|
"flask[async]",
|
|
|
|
"flask_cors",
|
2023-06-15 15:41:58 -04:00
|
|
|
"requests",
|
2025-03-02 10:40:18 -05:00
|
|
|
"platformdirs",
|
2023-05-18 00:17:35 -04:00
|
|
|
"urllib3==1.26.6",
|
2023-05-23 14:57:38 -04:00
|
|
|
"openai",
|
|
|
|
"anthropic",
|
|
|
|
"google-generativeai",
|
|
|
|
"dalaipy>=2.0.2",
|
2023-06-03 14:32:37 -04:00
|
|
|
"mistune>=2.0", # for LLM response markdown parsing
|
2023-05-18 00:17:35 -04:00
|
|
|
],
|
|
|
|
entry_points={
|
2024-10-30 04:33:01 +11:00
|
|
|
"console_scripts": [
|
|
|
|
"chainforge = chainforge.app:main",
|
2023-05-18 00:17:35 -04:00
|
|
|
],
|
|
|
|
},
|
|
|
|
classifiers=[
|
|
|
|
# Package classifiers
|
2024-10-30 04:33:01 +11:00
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
2023-05-18 00:17:35 -04:00
|
|
|
],
|
2023-05-22 13:19:46 -04:00
|
|
|
python_requires=">=3.8",
|
2023-05-18 00:17:35 -04:00
|
|
|
include_package_data=True,
|
2024-10-30 04:33:01 +11:00
|
|
|
)
|