-
Notifications
You must be signed in to change notification settings - Fork 373
/
setup.py
61 lines (59 loc) · 1.71 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
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='byjohnyang@gmail.com',
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/princeton-nlp/SWE-bench',
'Bug Reports': 'http://github.com/princeton-nlp/SWE-bench/issues',
'Source Code': 'http://github.com/princeton-nlp/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',
'pre-commit',
'python-dotenv',
'requests',
'rich',
'unidiff',
'tqdm',
],
extras_require={
'inference': [
'tiktoken',
'openai',
'anthropic',
'transformers',
'peft',
'sentencepiece',
'protobuf',
'torch',
'flash_attn',
'triton',
'jedi',
'tenacity',
],
},
include_package_data=True,
)