summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Censi <acensi@ethz.ch>2021-02-20 15:49:00 +0100
committerAndrea Censi <acensi@ethz.ch>2021-02-20 15:49:00 +0100
commit09c136f6f3cde7ed6a750dec0ac73fcec03e9472 (patch)
tree00ebff80766f84ea20aace7a62d853c80ed3d786
downloadact4e-09c136f6f3cde7ed6a750dec0ac73fcec03e9472.tar.gz
act4e-09c136f6f3cde7ed6a750dec0ac73fcec03e9472.zip
First
Diffstat (limited to '')
-rw-r--r--Dockerfile17
-rw-r--r--Makefile21
-rw-r--r--requirements.txt0
-rw-r--r--setup.py10
-rw-r--r--src/act4e_solutions/__init__.py0
5 files changed, 48 insertions, 0 deletions
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
--- /dev/null
+++ b/requirements.txt
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
--- /dev/null
+++ b/src/act4e_solutions/__init__.py