File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed
{{ cookiecutter.repo_name }} Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments