From 3b0e77437825dced55932e1f5ea7c27b95b7324b Mon Sep 17 00:00:00 2001 From: Yohei Tamura Date: Tue, 16 Feb 2021 13:51:47 +0900 Subject: [PATCH] update build scripts --- .github/workflows/manylinux_build.yml | 1 + python/Cargo.toml | 2 +- python/pyproject.toml | 8 ++++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/manylinux_build.yml b/.github/workflows/manylinux_build.yml index 604c2f8..7fbc8c1 100644 --- a/.github/workflows/manylinux_build.yml +++ b/.github/workflows/manylinux_build.yml @@ -13,6 +13,7 @@ jobs: - 3.6 - 3.7 - 3.8 + - 3.9 container: image: quay.io/pypa/manylinux2010_x86_64 env: diff --git a/python/Cargo.toml b/python/Cargo.toml index a4977a0..ec44eaa 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -textspan = { path = ".." } +textspan = "^0.5" [lib] name = "textspan" diff --git a/python/pyproject.toml b/python/pyproject.toml index 9ed16a1..e53fd45 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,9 @@ +# [build-system] +# requires = [ "poetry>=1.0",] +# build-backend = "poetry.masonry.api" [build-system] -requires = [ "poetry>=1.0",] -build-backend = "poetry.masonry.api" +requires = ["maturin"] +build-backend = "maturin" [tool.poetry] name = "pytextspan" @@ -8,6 +11,7 @@ version = "0.5.1" description = "" authors = [ "Yohei Tamura ",] license = "MIT" + [[tool.poetry.packages]] include = "textspan"