fixed build script,

added binutils to docker container for build requirements,
added required scipy modules to superscript.spec


Former-commit-id: 60a6fc1106dc90514bd1270138ab9166efa29290
This commit is contained in:
Arthur Lu 2022-02-20 23:16:02 +00:00
parent 21d92e65b2
commit d7ed695ad1
4 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
WORKDIR / WORKDIR /
RUN apt-get -y update; apt-get -y upgrade RUN apt-get -y update; apt-get -y upgrade
RUN apt-get -y install git RUN apt-get -y install git binutils
COPY requirements.txt . COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt

View File

@ -1,4 +1,4 @@
set pathtospec="../src/cli/superscript.spec" set pathtospec="../src/superscript.spec"
set pathtodist="../dist/" set pathtodist="../dist/"
set pathtowork="temp/" set pathtowork="temp/"

View File

@ -1,4 +1,4 @@
pathtospec="../src/cli/superscript.spec" pathtospec="../src/superscript.spec"
pathtodist="../dist/" pathtodist="../dist/"
pathtowork="temp/" pathtowork="temp/"

View File

@ -9,13 +9,15 @@ a = Analysis(['superscript.py'],
hiddenimports=[ hiddenimports=[
"dnspython", "dnspython",
"sklearn.utils._weight_vector", "sklearn.utils._weight_vector",
"sklearn.utils._typedefs",
"sklearn.neighbors._partition_nodes",
"requests", "requests",
], ],
hookspath=[], hookspath=[],
runtime_hooks=[], runtime_hooks=[],
excludes=[ excludes=[
"matplotlib", "matplotlib",
"pandas" #"pandas"
], ],
win_no_prefer_redirects=False, win_no_prefer_redirects=False,
win_private_assemblies=False, win_private_assemblies=False,