diff --git a/Makefile b/Makefile index fdebd9ff6980f5f13b947be72756564e4def1192..b4e627893c2b1a9d0080cd5938ca8ddc35614b77 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,67 @@ # https://www.gnu.org/software/make/manual/make.html -all: - echo "hello" +all: main + @echo "hello" + +clean: + @echo "clean" + +distclean: + @echo "distclean" + +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 + . scripts/script_get_python_requirements_from_txt.sh + pip check + +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 + +build_setup: + python setup.py develop + pip install -e . + pip check + +pip_install_via_setup_py: + pip install -e . + +build_wheel: + python -m pip install --upgrade pip + pip install setuptools wheel twine + # python setup.py sdist bdist_wheel + python -m build --wheel + pip check + +npm_install: + npm install + +prepare_edit_setup_py: pip_compile + +prepare_first_install: + python -m pip install setuptools wheel + python -m pip install --upgrade pip + +first_install: prepare_first_install pip_install pip_compile build_setup npm_install + # build_wheel + +main: pip_compile pip_install pip_install_via_setup_py build_wheel npm_install + # setup_venv + +git_commit_and_push: + git add * + git commit -m "git_commit_and_push via make" + git push + +git_push: git_commit_and_push + +love: + @echo "not war!" + +