Skip to content

Commit 1fa7322

Browse files
committed
fix: change the setup cfg for evaluate
1 parent 25afe4f commit 1fa7322

File tree

3 files changed

+34
-20
lines changed

3 files changed

+34
-20
lines changed

Docker/Evaluate.Dockerfile

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,23 @@ RUN rm -rf /bigcodebench
1616
ADD "https://api.github.com/repos/bigcode-project/bigcodebench/commits?per_page=1" latest_commit
1717
RUN git clone https://github.com/bigcode-project/bigcodebench.git /bigcodebench
1818

19-
RUN cd /bigcodebench && pip install .[evaluate] --no-deps
19+
RUN cd /bigcodebench && \
20+
pip install . --no-deps && \
21+
pip install \
22+
appdirs>=1.4.4 \
23+
fire>=0.6.0 \
24+
multipledispatch>=0.6.0 \
25+
pqdm>=0.2.0 \
26+
tempdir>=0.7.1 \
27+
termcolor>=2.0.0 \
28+
tqdm>=4.56.0 \
29+
tree_sitter_languages>=1.10.2 \
30+
tree-sitter==0.21.3 \
31+
wget>=3.2 \
32+
datasets \
33+
gradio-client \
34+
numpy \
35+
rich
2036

2137
# Pre-install the dataset
2238
RUN python3 -c "from bigcodebench.data import get_bigcodebench; get_bigcodebench()"

Docker/Gradio.Dockerfile

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,23 @@ RUN rm -rf /bigcodebench
1818
ADD "https://api.github.com/repos/bigcode-project/bigcodebench/commits?per_page=1" latest_commit
1919
RUN git clone https://github.com/bigcode-project/bigcodebench.git /bigcodebench
2020

21-
RUN cd /bigcodebench && pip install .[evaluate] --no-deps
21+
RUN cd /bigcodebench && \
22+
pip install . --no-deps && \
23+
pip install \
24+
appdirs>=1.4.4 \
25+
fire>=0.6.0 \
26+
multipledispatch>=0.6.0 \
27+
pqdm>=0.2.0 \
28+
tempdir>=0.7.1 \
29+
termcolor>=2.0.0 \
30+
tqdm>=4.56.0 \
31+
tree_sitter_languages>=1.10.2 \
32+
tree-sitter==0.21.3 \
33+
wget>=3.2 \
34+
datasets \
35+
gradio-client \
36+
numpy \
37+
rich
2238

2339
# Pre-install the dataset
2440
RUN python3 -c "from bigcodebench.data import get_bigcodebench; get_bigcodebench()"

setup.cfg

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,6 @@ install_requires =
3838
mistralai>=0.2.0,<1.0.0
3939
openai>=1.11.1
4040

41-
[options.extras_require]
42-
# Define optional dependencies (grouped by extras)
43-
evaluate =
44-
appdirs>=1.4.4
45-
fire>=0.6.0
46-
multipledispatch>=0.6.0
47-
pqdm>=0.2.0
48-
tempdir>=0.7.1
49-
termcolor>=2.0.0
50-
tqdm>=4.56.0
51-
tree_sitter_languages>=1.10.2
52-
tree-sitter==0.21.3
53-
wget>=3.2
54-
datasets
55-
gradio-client
56-
numpy
57-
rich
58-
5941
[options.entry_points]
6042
console_scripts =
6143
bigcodebench.evaluate = bigcodebench.evaluate:main

0 commit comments

Comments
 (0)