mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 06:54:44 +00:00
Merge pull request #8 from titanscout2022/containerization-testing
Containerization testing
This commit is contained in:
commit
33eea153c1
@ -19,4 +19,5 @@
|
|||||||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
|
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint",
|
||||||
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest"
|
"python.testing.pytestPath": "/usr/local/py-utils/bin/pytest"
|
||||||
},
|
},
|
||||||
|
"postCreateCommand": "pip install -r analysis-master/analysis-amd64/requirements.txt"
|
||||||
}
|
}
|
0
analysis-master/analysis-amd64/build.sh
Normal file → Executable file
0
analysis-master/analysis-amd64/build.sh
Normal file → Executable file
Binary file not shown.
Binary file not shown.
@ -1,4 +1,5 @@
|
|||||||
FROM python
|
FROM python
|
||||||
WORKDIR ~/
|
WORKDIR ~/
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
6
analysis-master/analysis-amd64/requirements.txt
Normal file
6
analysis-master/analysis-amd64/requirements.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
numba
|
||||||
|
numpy
|
||||||
|
scipy
|
||||||
|
scikit-learn
|
||||||
|
six
|
||||||
|
matplotlib
|
@ -1,5 +1,11 @@
|
|||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
|
requirements = []
|
||||||
|
|
||||||
|
with open("requirements.txt", 'r') as file:
|
||||||
|
for line in file:
|
||||||
|
requirements.append(line)
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="analysis",
|
name="analysis",
|
||||||
version="1.0.0.009",
|
version="1.0.0.009",
|
||||||
@ -10,14 +16,7 @@ setuptools.setup(
|
|||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/titanscout2022/tr2022-strategy",
|
url="https://github.com/titanscout2022/tr2022-strategy",
|
||||||
packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
install_requires=[
|
install_requires=requirements,
|
||||||
"numba",
|
|
||||||
"numpy",
|
|
||||||
"scipy",
|
|
||||||
"scikit-learn",
|
|
||||||
"six",
|
|
||||||
"matplotlib"
|
|
||||||
],
|
|
||||||
license = "GNU General Public License v3.0",
|
license = "GNU General Public License v3.0",
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
0
analysis-master/analysis-arm64/docker/Dockerfile
Normal file
0
analysis-master/analysis-arm64/docker/Dockerfile
Normal file
3
analysis-master/analysis-arm64/docker/start-docker.sh
Executable file
3
analysis-master/analysis-arm64/docker/start-docker.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
cd ..
|
||||||
|
docker build -t tra-analysis-amd64-dev -f docker/Dockerfile .
|
||||||
|
docker run -it tra-analysis-amd64-dev
|
Loading…
Reference in New Issue
Block a user