Skip to content

Commit 98abc01

Browse files
committed
publish on pypi?
1 parent db7f13e commit 98abc01

File tree

9 files changed

+721
-43
lines changed

9 files changed

+721
-43
lines changed

.github/workflows/python.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ jobs:
156156
release:
157157
name: Release
158158
runs-on: ubuntu-latest
159+
environment: pypi
159160
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
160161
needs: [linux, musllinux, windows, macos, sdist]
161162
permissions:
@@ -174,8 +175,8 @@ jobs:
174175
- name: Publish to PyPI
175176
if: ${{ startsWith(github.ref, 'refs/tags/') }}
176177
uses: PyO3/maturin-action@v1
177-
env:
178-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
178+
# env:
179+
# MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
179180
with:
180181
command: upload
181182
args: --non-interactive --skip-existing wheels-*/*

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vec-utils-py/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vec-utils-py"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
edition = "2024"
55
authors = ["Akari Harada <[email protected]>"]
66
license = "GPL-3"

vec-utils-py/LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

vec-utils-py/NOTES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
intersperse benchmark: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=50bda743d1955e8ae94d9f5c03d59f9f

vec-utils-py/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1+
# Vec-utils-py
2+
3+
This is a python library exposing much of my rust vec-utils crate.
4+
Included objects:
5+
* 3d Vectors
6+
* Quaternions
7+
* Angles
8+
* Circles
9+
* Some intersections
10+
11+
Only available from pytohn is also the VecList struct. It can be used for faster operations on many Vec3d objects
12+
13+
14+
15+
16+
17+
18+
119

220

321

4-
intersperse benchmark: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=50bda743d1955e8ae94d9f5c03d59f9f

vec-utils-py/pyproject.toml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
11
[project]
2-
name = "vecutils"
3-
version = "0.1.2"
4-
requires-python = ">=3.7"
2+
name = "vec-utils"
3+
version = "0.2.0"
4+
requires-python = ">=3.9"
5+
authors = [
6+
{ name="Akari202", email="[email protected]" }
7+
]
8+
description = "A simple vector operations library"
9+
readme = "README.md"
10+
classifiers = [
11+
"Programming Language :: Python :: 3",
12+
"Programming Language :: Rust",
13+
"Topic :: Scientific/Engineering :: Mathematics",
14+
"Operating System :: OS Independent"
15+
]
16+
license = "GPL-3.0-only"
17+
license-files = ["LICENSE"]
18+
19+
[project.urls]
20+
GitHub = "https://github.com/Akari202/vec-utils"
21+
Issues = "https://github.com/Akari202/vec-utils/issues"
522

623
[build-system]
724
requires = ["maturin>=1.0, <2.0"]

vec-utils-py/tests/test_join.rs

Lines changed: 0 additions & 33 deletions
This file was deleted.

vec-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "vec-utils"
3-
version = "0.1.2"
3+
version = "0.2.0"
44
edition = "2024"
55
authors = ["Akari Harada <[email protected]>"]
66
license = "GPL-3"

0 commit comments

Comments
 (0)