summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Dockerfile7
-rw-r--r--MANIFEST.in4
-rw-r--r--Makefile13
-rw-r--r--setup.json18
-rw-r--r--setup.py17
6 files changed, 20 insertions, 40 deletions
diff --git a/.gitignore b/.gitignore
index 9bea433..ad71b0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
.DS_Store
+.python-version
diff --git a/Dockerfile b/Dockerfile
index 8d27c13..d029f7f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,11 @@
-ARG DOCKER_REGISTRY
-FROM ${DOCKER_REGISTRY}/act4e/act4e-tests:alphubel
+# ARG DOCKER_REGISTRY=docker.io
+# FROM ${DOCKER_REGISTRY}/act4e/act4e-tests:alphubel
+FROM python:3.10
+RUN python3 -m pip install -U pip -v
WORKDIR /ACT4E
+RUN uname -a
COPY requirements.txt .
RUN python3 -m pip install -r requirements.txt
diff --git a/MANIFEST.in b/MANIFEST.in
index dc1dc93..4e280e6 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -12,10 +12,6 @@ exclude LICENSE*
prune .*
exclude .*
exclude src/conf.py
-recursive-exclude src *.rst
-recursive-exclude src *.less
-recursive-include src *.css
-recursive-include src *.sql
prune src/**/__pycache__
prune src/*_tests*
prune out
diff --git a/Makefile b/Makefile
index 83fd1b8..5177571 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,17 @@
all:
-DOCKER_REGISTRY ?= reg-z7-prod.zuper.ai
-
tag=mytag
-pull:
- docker pull ${DOCKER_REGISTRY}/act4e/act4e-tests:alphubel
-
-build: pull
+build:
docker build --build-arg DOCKER_REGISTRY=${DOCKER_REGISTRY} -t $(tag) .
check: build
- docker run -it --rm -v $(PWD)/out-results:/ACT4E/out-results $(tag) act4e-tests --module act4e_solutions
+ docker run -it --rm -v $(PWD)/out-results:/ACT4E/out-results $(tag) \
+ act4e-test --collections act4e_checks --module act4e_solutions
check-%: build
- docker run -it --rm -v $(PWD)/out-results:/ACT4E/out-results $(tag) act4e-tests --module act4e_solutions --group $*
+ docker run -it --rm -v $(PWD)/out-results:/ACT4E/out-results $(tag) \
+ act4e-test --collections act4e_checks --module act4e_solutions --group $*
diff --git a/setup.json b/setup.json
deleted file mode 100644
index ad72186..0000000
--- a/setup.json
+++ /dev/null
@@ -1,18 +0,0 @@
-{
- "install_requires": [],
- "tests_require": [],
- "srcdir": "src",
- "package_name": "ACT4E-MySolutions",
- "entry_points": {
- "console_scripts": []
- },
- "zip_safe": true,
- "include_package_data": true,
- "modules": [
- "act4e_solutions"
- ],
- "version": "0.1",
- "author": "",
- "author_email": "",
- "url": ""
-} \ No newline at end of file
diff --git a/setup.py b/setup.py
index e64c8cc..e20c8f1 100644
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,11 @@
from setuptools import find_packages, setup
-setup(name='ACT4E-MySolutions',
- version="0.1",
- package_dir={'': 'src'},
- packages=find_packages('src'),
- entry_points={
- },
- extras_require={},
- )
+setup(
+name='ACT4E-MySolutions',
+version="0.1",
+package_dir={'': 'src'},
+packages=find_packages('src'),
+entry_points={},
+extras_require={},
+install_requires=['ACT4E-exercises'],
+)