|
from setuptools import setup, find_packages |
|
|
|
|
|
def parse_requirements(filename): |
|
not_needed_deps = [ |
|
"fastapi==0.112.2", |
|
"gradio==5.0.0b1", |
|
"APScheduler", |
|
] |
|
dependencies = [] |
|
with open(filename) as f: |
|
for line in f: |
|
dep_name = line.strip() |
|
if dep_name not in not_needed_deps: |
|
dependencies.append(dep_name) |
|
return dependencies |
|
|
|
setup( |
|
name="DABstep Benchmark", |
|
version="0.1.0", |
|
description="DABstep: Data Agent Benchmark for Multi-Step Reasoning", |
|
long_description=open("README.md").read(), |
|
long_description_content_type="text/markdown", |
|
author="Martin Iglesias, Alex Egg, Andreu Mora, Friso Kingma, Leandro von Werra", |
|
author_email="[email protected]", |
|
packages=find_packages(include=["dabstep_benchmark", "dabstep_benchmark.*"]), |
|
include_package_data=True, |
|
install_requires=parse_requirements("requirements.txt"), |
|
classifiers=[ |
|
"Programming Language :: Python :: 3", |
|
"License :: OSI Approved :: MIT License", |
|
"Operating System :: OS Independent", |
|
], |
|
) |
|
|