-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (66 loc) · 1.87 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
67
68
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/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',
'flake8',
'flake8-pyproject',
'ghapi',
'GitPython',
'inline-snapshot',
'pre-commit',
'PyGithub',
'pytest',
'python-dotenv',
'requests',
'rich',
'tqdm',
'tree-sitter',
'tree-sitter-python',
'unidiff',
],
extras_require={
'inference': [
'tiktoken',
'openai',
'anthropic',
'transformers',
'peft',
'sentencepiece',
'protobuf',
'torch',
'flash_attn',
'triton',
'jedi',
'tenacity',
],
},
include_package_data=True,
)