forked from openai/human-eval
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (25 loc) · 753 Bytes
/
setup.py
File metadata and controls
29 lines (25 loc) · 753 Bytes
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
import os
from setuptools import setup, find_packages
def read_requirements():
"""Read requirements from requirements.txt file."""
req_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
with open(req_path, encoding="utf-8") as f:
return [
line.strip()
for line in f
if line.strip() and not line.startswith("#")
]
setup(
name="human-eval",
py_modules=["human-eval"],
version="1.0",
description="",
author="OpenAI",
packages=find_packages(),
install_requires=read_requirements(),
entry_points={
"console_scripts": [
"evaluate_functional_correctness = human_eval.evaluate_functional_correctness:main",
]
}
)