Skip to content

Commit d2815a2

Browse files
committed
[skip render] more reversions
1 parent 6f3d600 commit d2815a2

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,6 @@ jobs:
9393
echo "${CONDA}\Scripts" >> $GITHUB_PATH
9494
# Set bash executable explicitly since Make may pick wrong shell
9595
echo "BASH_EXECUTABLE=$(which bash)" >> "$GITHUB_ENV"
96-
# Set PIPENV_PYTHON to use the correct 64-bit Python from setup-python
97-
echo "PIPENV_PYTHON=$(which python).exe" >> "$GITHUB_ENV"
9896
9997
- name: Install dependencies
10098
run: |

ccds/hook_utils/dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def write_dependencies(
117117
lines = ["[packages]"]
118118
lines += [f'{p} = "*"' for p in sorted(packages)]
119119

120-
lines += [f'{module_name} = {{editable = true, path = "."}}']
120+
lines += [f'"{module_name}" ={{editable = true, path = "."}}']
121121

122122
lines += ["", "[requires]", f'python_version = "{python_version}"']
123123

{{ cookiecutter.repo_name }}/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ create_environment:
122122
@bash -c "if [ ! -z `which virtualenvwrapper.sh` ]; then source `which virtualenvwrapper.sh`; mkvirtualenv $(PROJECT_NAME) --python=$(PYTHON_INTERPRETER); else mkvirtualenv.bat $(PROJECT_NAME) --python=$(PYTHON_INTERPRETER); fi"
123123
@echo ">>> New virtualenv created. Activate with:\nworkon $(PROJECT_NAME)"
124124
{% elif cookiecutter.environment_manager == 'pipenv' -%}
125-
pipenv install
125+
pipenv --python $(PYTHON_VERSION)
126126
@echo ">>> New pipenv created. Activate with:\npipenv shell"
127127
{% elif cookiecutter.environment_manager == 'uv' -%}
128128
uv venv --python $(PYTHON_VERSION)

0 commit comments

Comments
 (0)