diff options
-rw-r--r-- | Dockerfile | 17 | ||||
-rw-r--r-- | Makefile | 21 | ||||
-rw-r--r-- | requirements.txt | 0 | ||||
-rw-r--r-- | setup.py | 10 | ||||
-rw-r--r-- | src/act4e_solutions/__init__.py | 0 |
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 |