mirror of
https://github.com/visioncortex/vtracer.git
synced 2025-12-06 17:15:41 -08:00
* Python bindings sep 2023 (#52) * Added maturin-based Python binding, to be deployed to https://pypi.org/project/vtracer/ * Removed poetry mentions from pyproject.toml, added README_PY.md for use on PYPI * -> v0.6.1 -> moved Python bindings to bottom of converter.rs * - README_PY.md needed to be inside the cmdapp directory to display on PyPi.irg -> v0.6.3 * Move code around * Edit Readme * Edit RELEASES.md * Feature guard * Build wheels with the cmdapp/Cargo.toml rather than top-level Cargo.toml * use cmdapp/Cargo.toml for all Maturin CI actions, which causes Github to build all platforms python wheels and submit a new release to PyPI * Bump to 0.6.4 for new PyPI release with all platforms' wheels included * PyPI didn't accept a 'linux_aarch64' wheel for a release. For the moment, remove the platform until I can convince the action to build 'manylinux_aarch64' or the like * Version bump while I work out CI & PyPI release wrinkles * Maturin authors say `compatibility = "linux"` in pyproject.toml is causing PyPI failure. Replacing with "manylinux2014" * bump to v0.7.0 in preparation for release from original vtracer repo --------- Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
28 lines
733 B
TOML
28 lines
733 B
TOML
[project]
|
|
name = "vtracer"
|
|
version = "0.7.0"
|
|
description = "Python bindings for the Rust Vtracer raster-to-vector library"
|
|
authors = [ { name = "Chris Tsang", email = "chris.2y3@outlook.com" } ]
|
|
readme = "vtracer/README.md"
|
|
requires-python = ">=3.7"
|
|
license = "MIT"
|
|
classifiers = [
|
|
"Programming Language :: Rust",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
]
|
|
|
|
[dependencies]
|
|
python = "^3.7"
|
|
|
|
[dev-dependencies]
|
|
maturin = "^1.2"
|
|
|
|
[build-system]
|
|
requires = ["maturin>=1.2,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[tool.maturin]
|
|
features = ["pyo3/extension-module"]
|
|
compatibility = "manylinux2014"
|
|
sdist-include = ["LICENSE-MIT", "vtracer/README.md"] |