|
1 | | -from setuptools import find_packages, setup |
2 | | - |
| 1 | +from setuptools import setup |
3 | 2 | import versioneer |
4 | 3 |
|
5 | 4 | setup( |
6 | | - name="reward-kit", |
7 | 5 | version=versioneer.get_version(), |
8 | 6 | cmdclass=versioneer.get_cmdclass(), |
9 | | - packages=find_packages(include=["reward_kit*", "reward_protocol*", "development*"]), |
10 | | - install_requires=[ |
11 | | - "requests>=2.25.0", |
12 | | - "pydantic>=2.0.0", |
13 | | - "dataclasses-json>=0.5.7", |
14 | | - "fastapi>=0.68.0", |
15 | | - "uvicorn>=0.15.0", |
16 | | - "python-dotenv>=0.19.0", |
17 | | - "openai==1.78.1", |
18 | | - "aiosqlite", |
19 | | - "aiohttp", |
20 | | - "mcp>=1.9.2", |
21 | | - "PyYAML>=5.0", # Added PyYAML |
22 | | - "datasets==3.6.0", # For dataset loading functionality |
23 | | - "fsspec==2025.3.0", # For filesystem interactions, pinned for dataset compatibility |
24 | | - "hydra-core>=1.3.2", # For configuration management |
25 | | - "omegaconf>=2.3.0", # For configuration objects |
26 | | - "gymnasium>=0.29.0", # For FrozenLake and other gym environments |
27 | | - "httpx>=0.24.0", # For HTTP client functionality in agent resources |
28 | | - "fireworks-ai>=0.17.19", # For Fireworks Build SDK integration |
29 | | - ], |
30 | | - extras_require={ |
31 | | - "dev": [ |
32 | | - "build", |
33 | | - "twine", |
34 | | - "pytest>=6.0.0", |
35 | | - "pytest-asyncio", |
36 | | - "pytest-httpserver", |
37 | | - "werkzeug>=2.0.0", # needed for test_url_handling.py |
38 | | - "black>=21.5b2", |
39 | | - "mypy>=0.812", |
40 | | - "flake8>=3.9.2", |
41 | | - "autopep8>=1.5.0", |
42 | | - "transformers>=4.0.0", |
43 | | - "types-setuptools", |
44 | | - "types-requests", |
45 | | - "types-PyYAML", |
46 | | - "types-docker", |
47 | | - "versioneer>=0.20", |
48 | | - "openai==1.78.1", # needed for tests using OpenAI types |
49 | | - # datasets, hydra-core, omegaconf moved to core dependencies |
50 | | - "pre-commit", |
51 | | - "e2b>=0.15.0", # Added e2b for E2B environment tests |
52 | | - "docker==7.1.0", |
53 | | - ], |
54 | | - "trl": [ |
55 | | - "torch>=1.9", |
56 | | - "trl>=0.7.0", |
57 | | - "peft>=0.7.0", |
58 | | - "transformers>=4.0.0", |
59 | | - "accelerate>=0.28.0", |
60 | | - ], |
61 | | - "deepseek": [ |
62 | | - "difflib>=3.0.0", |
63 | | - ], |
64 | | - # "deepeval": ["deepeval>=3.1.0"], |
65 | | - "openevals": ["openevals>=0.1.0"], |
66 | | - }, |
67 | | - entry_points={ |
68 | | - "console_scripts": [ |
69 | | - "fireworks-reward=reward_kit.cli:main", |
70 | | - "reward-kit=reward_kit.cli:main", |
71 | | - "reward-protocol=reward_kit.cli:main", |
72 | | - ], |
73 | | - }, |
74 | | - author="Fireworks AI", |
75 | | - author_email="info@fireworks.ai", |
76 | | - description="A Python library for defining, testing, and using reward functions", |
77 | | - long_description="A library for defining, testing, and deploying reward functions", |
78 | | - url="https://github.com/fireworks-ai/reward-kit", |
79 | | - classifiers=[ |
80 | | - "Programming Language :: Python :: 3", |
81 | | - "License :: OSI Approved :: Apache Software License", |
82 | | - "Operating System :: OS Independent", |
83 | | - ], |
84 | | - python_requires=">=3.10", |
85 | | - license_files=["LICENSE"], |
86 | 7 | ) |
0 commit comments