Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: '9689455'
_commit: 98c8f14
_src_path: https://github.com/python-project-templates/base.git
add_extension: rust
email: 3105306+timkpaine@users.noreply.github.com
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
- uses: actions-ext/python/setup@main
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
version: ${{ matrix.python-version }}

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -52,7 +49,7 @@ jobs:
uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}

- name: Setup rust targets (MacOS)
run: |
rustup toolchain install stable-x86_64-apple-darwin
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#########
.PHONY: develop-py develop-rust develop
develop-py:
python -m pip install -e .[develop]
uv pip install -e .[develop]

develop-rust:
make -C rust develop
Expand All @@ -24,7 +24,7 @@ build: build-rust build-py ## build the project

.PHONY: install
install: ## install python library
python -m pip install .
uv pip install .

UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ A Rust-Python project template
[![codecov](https://codecov.io/gh/python-project-templates/python-template-rust/branch/main/graph/badge.svg)](https://codecov.io/gh/python-project-templates/python-template-rust)
[![License](https://img.shields.io/github/license/python-project-templates/python-template-rust)](https://github.com/python-project-templates/python-template-rust)
[![PyPI](https://img.shields.io/pypi/v/python-template-rust.svg)](https://pypi.python.org/pypi/python-template-rust)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/python-project-templates/python-template-rust/main?urlpath=lab)

## Overview

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]

dependencies = []
Expand Down