From ac7b7a2a00a7150640af8c229e66c7932d21e970 Mon Sep 17 00:00:00 2001
From: "thomas.woehlke" <thomas.woehlke@rub.de>
Date: Sun, 25 Apr 2021 02:59:38 +0200
Subject: [PATCH] work

---
 build.cmd | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)

diff --git a/build.cmd b/build.cmd
index 34a2bffc..3b197bed 100644
--- a/build.cmd
+++ b/build.cmd
@@ -1,19 +1,39 @@
-rem deactivate
-rem rm -rf venv
-rem py -3 -m venv venv
-rem venv\Scripts\activate
+rem comment out to build virtual env:
+goto mypipcompile
+deactivate
+rm -rf venv
+py -3 -m venv venv
+venv\Scripts\activate
+python setup.py develop
+goto myend
 
+:pip_compile
 pip-compile -r requirements\build.in
 pip-compile -r requirements\docs.in
 pip-compile -r requirements\tests.in
 pip-compile -r requirements\dev.in
+pip check
 
-pip install -r requirements\build.in  --log logfile1.txt
-pip install -r requirements\docs.in  --log logfile2.txt
-pip install -r requirements\tests.in --log logfile3.txt
-pip install -r requirements\dev.in --log logfile4.txt
+:pip_install
+pip install -r requirements\build.in
+pip install -r requirements\docs.in
+pip install -r requirements\tests.in
+pip install -r requirements\dev.in
+pip check
 
-rem pip install -e . --compile --force-reinstall --progress-bar pretty --log logfile5.txt
-pip install -e . --compile --progress-bar pretty --log logfile5.txt
+:pip_install_via_setup_py
+pip install -e .
+pip check
 
-rem python -m build --wheel
+:foo
+python -m pip install --upgrade pip
+pip install setuptools wheel twine
+python setup.py sdist bdist_wheel
+
+:build_wheel
+python -m build --wheel
+
+:prepare_to_develop
+python setup.py develop
+
+:myend
-- 
GitLab