forked from SWE-bench/SWE-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (64 loc) · 1.79 KB
/
setup.py
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="swebench",
author="John Yang",
author_email="[email protected]",
description="The official SWE-bench package - a benchmark for evaluating LMs on software engineering",
keywords="nlp, benchmark, code",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://swebench.com",
project_urls={
"Documentation": "https://github.com/swe-bench/SWE-bench",
"Bug Reports": "http://github.com/swe-bench/SWE-bench/issues",
"Source Code": "http://github.com/swe-bench/SWE-bench",
"Website": "https://swebench.com",
},
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
install_requires=[
"beautifulsoup4",
"chardet",
"datasets",
"docker",
"ghapi",
"GitPython",
"modal",
"pre-commit",
"python-dotenv",
"requests",
"rich",
"tenacity",
"tqdm",
"unidiff",
],
extras_require={
"inference": [
"anthropic",
"flash_attn",
"jedi",
"openai",
"peft",
"protobuf",
"sentencepiece",
"tiktoken",
"torch",
"transformers",
"triton",
],
"test": [
"pytest",
"pytest-cov",
],
},
include_package_data=True,
)