File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
{{cookiecutter.project_name}} Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ version: 2
88build :
99 os : ubuntu-22.04
1010 tools :
11- python : " 3.11 "
11+ python : " {{cookiecutter.python_version}} "
1212 commands :
1313 - mkdir -p $READTHEDOCS_OUTPUT/html
1414 - curl -sSL https://install.python-poetry.org | python -
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ WORKDIR /workspaces/{{cookiecutter.project_name}}
5959COPY pyproject.toml /workspaces/{{cookiecutter.project_name}}/
6060
6161# Create virtual environment and install dependencies
62+ RUN uv venv
6263RUN uv pip install -e ".[dev]"
6364ENV PATH="/workspaces/{{cookiecutter.project_name}}/.venv/bin:${PATH}"
6465
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ poetry install --with dev
2222``` {% elif cookiecutter.package_manager == 'pixi' %} ``` shell
2323pixi install
2424``` {% elif cookiecutter.package_manager == 'uv' %} ``` shell
25+ uv venv
2526uv pip install -e ".[ dev] "
2627source .venv/bin/activate
2728``` {% endif %}
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ description = ""
55authors = [" {{cookiecutter.author}} <{{cookiecutter.author_email}}>" ]
66license = " MIT"
77readme = " README.md"
8- python_version = " 3.11 "
8+ python_version = " {{cookiecutter.python_version}} "
99homepage = " {{cookiecutter.project_url}}"
1010classifiers = [
1111 " License :: OSI Approved :: MIT License" ,
12- " Programming Language :: Python :: 3.11 " ,
12+ " Programming Language :: Python :: {{cookiecutter.python_version}} " ,
1313]
1414package_dir = { include = " {{cookiecutter.package_name}}" , from = " src" }
1515exclude = [" test/*" , " examples/*" , " docs/*" ]
You can’t perform that action at this time.
0 commit comments