From 09c136f6f3cde7ed6a750dec0ac73fcec03e9472 Mon Sep 17 00:00:00 2001 From: Andrea Censi Date: Sat, 20 Feb 2021 15:49:00 +0100 Subject: First --- Dockerfile | 17 +++++++++++++++++ Makefile | 21 +++++++++++++++++++++ requirements.txt | 0 setup.py | 10 ++++++++++ src/act4e_solutions/__init__.py | 0 5 files changed, 48 insertions(+) create mode 100644 Dockerfile create mode 100644 Makefile create mode 100644 requirements.txt create mode 100644 setup.py create mode 100644 src/act4e_solutions/__init__.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0adfd96 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM andreacensi/act4e:spring2021 + +WORKDIR /ACT4E + +COPY requirements.txt . +RUN pip install -r requirements.txt + +COPY src src +COPY setup.py . + + +#RUN git clone --branch spring2021 https://github.com/idsc-frazzoli/ACT4E-exercises.git +#RUN cd ACT4E-exercises && python setup.py develop + + +RUN python setup.py develop + diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..51c3aa6 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +all: + +tag=mytag + +pull: + docker pull andreacensi/act4e:spring2021 + +build: + docker build -t $(tag) . + + +check: build + docker run -it --rm $(tag) act4e-tests --module act4e_solutions + + +check-%: build + docker run -it --rm $(tag) act4e-tests --module act4e_solutions --group $* + +# +#check: +# docker run -it --rm -v $(PWD):$(PWD):ro -w $(PWD) andreacensi/act4e:spring2021 act4e-tests --module act4e_solutions diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e64c8cc --- /dev/null +++ b/setup.py @@ -0,0 +1,10 @@ +from setuptools import find_packages, setup + +setup(name='ACT4E-MySolutions', + version="0.1", + package_dir={'': 'src'}, + packages=find_packages('src'), + entry_points={ + }, + extras_require={}, + ) diff --git a/src/act4e_solutions/__init__.py b/src/act4e_solutions/__init__.py new file mode 100644 index 0000000..e69de29 -- cgit v1.2.1