forked from eladyaniv01/SC2MapAnalysis
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update scripts to compile the extension for ladder
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
docker build . -f ./ladder_build/Dockerfile -t maextbuild | ||
id=$(docker create maextbuild) | ||
docker cp $id:./mapanalyzerext.so ./MapAnalyzer/cext/mapanalyzerext.so | ||
docker cp $id:./mapanalyzerext.so ./map_analyzer/cext/mapanalyzerext.so | ||
docker rm -v $id | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
FROM python:3.9.5 | ||
FROM python:3.11.5 | ||
|
||
COPY . . | ||
|
||
RUN python3.9 setup.py build_ext --inplace | ||
RUN mv mapanalyzerext.*.so mapanalyzerext.so | ||
RUN pip install poetry==1.6.1 | ||
RUN poetry install | ||
RUN mv build/lib.linux*/mapanalyzerext.*.so mapanalyzerext.so | ||
|
||
CMD ["/bin/bash"] |