From dcfe15113926c284df4de677747b0cf00980bd08 Mon Sep 17 00:00:00 2001 From: "martin.holmer@gmail.com" Date: Sun, 24 Nov 2024 11:32:44 -0500 Subject: [PATCH] Simplify 'make package' command after pyproject.toml file has been added --- .github/workflows/build_and_test.yml | 2 +- .github/workflows/check_jupyterbook.yml | 2 +- .github/workflows/deploy_jupyterbook.yml | 2 +- .github/workflows/deploy_parameters_docs.yml | 2 +- Makefile | 2 +- taxcalc.egg-info/SOURCES.txt | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 42cd4049a..a40fc81ac 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -27,7 +27,7 @@ jobs: - name: Build shell: bash -l {0} run: | - pip install -e . --user --config-settings editable_mode=compat + pip install -e . pip install pytest-cov --user pip install pytest-pycodestyle --user diff --git a/.github/workflows/check_jupyterbook.yml b/.github/workflows/check_jupyterbook.yml index fa5989ede..3c3b65950 100644 --- a/.github/workflows/check_jupyterbook.yml +++ b/.github/workflows/check_jupyterbook.yml @@ -23,7 +23,7 @@ jobs: run: | pip install jupyter-book conda install -c pslmodels behresp - pip install -e . --config-settings editable_mode=compat + pip install -e . python docs/guide/make/make_uguide.py cd docs jb build . diff --git a/.github/workflows/deploy_jupyterbook.yml b/.github/workflows/deploy_jupyterbook.yml index 0cd0a30b7..87c36b992 100644 --- a/.github/workflows/deploy_jupyterbook.yml +++ b/.github/workflows/deploy_jupyterbook.yml @@ -26,7 +26,7 @@ jobs: run: | pip install jupyter-book conda install -c pslmodels behresp - pip install -e . --config-settings editable_mode=compat + pip install -e . cd docs jb build . diff --git a/.github/workflows/deploy_parameters_docs.yml b/.github/workflows/deploy_parameters_docs.yml index 2ef71e2ee..f3342557f 100644 --- a/.github/workflows/deploy_parameters_docs.yml +++ b/.github/workflows/deploy_parameters_docs.yml @@ -26,7 +26,7 @@ jobs: run: | pip install jupyter-book conda install -c pslmodels behresp - pip install -e . --config-settings editable_mode=compat + pip install -e . python docs/guide/make/make_uguide.py cd docs jb build . diff --git a/Makefile b/Makefile index 42920992f..778d70226 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ clean: .PHONY=package package: - @pip install -e . --config-settings editable_mode=compat + @pip install -e . define pytest-setup rm -f taxcalc/tests/reforms_actual_init diff --git a/taxcalc.egg-info/SOURCES.txt b/taxcalc.egg-info/SOURCES.txt index 6937d2e4c..9ca90b177 100644 --- a/taxcalc.egg-info/SOURCES.txt +++ b/taxcalc.egg-info/SOURCES.txt @@ -15,6 +15,7 @@ gitpr.bat gitsync gitsync.bat ppp.py +pyproject.toml pytest.ini setup.py tctest-nojit.sh