From dc33223fcb1583bf31b89474ec299d45d8f80ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rni=20Dagur?= Date: Mon, 1 Feb 2021 17:59:51 +0000 Subject: Packaging improvements (#34) * Use maturin for PEP 517 compliancy * Removing relative import in __init__.py * Bump version to 0.4.2 --- Cargo.toml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index a1947ae..f565d0c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,22 @@ [package] -name = "adblock" publish = false -version = "0.4.1" -authors = ["Árni Dagur "] license = "MIT OR Apache-2.0" +readme = "README.md" +homepage = "https://github.com/ArniDagur/python-adblock" +repository = "https://github.com/ArniDagur/python-adblock" + +[package.metadata.maturin] +classifier = [ + "Programming Language :: Python", + "Programming Language :: Rust", + "License :: OSI Approved :: MIT License", + "License :: OSI Approved :: Apache Software License", +] +requires-python = ">=3.6" [profile.release] debug = true @@ -18,4 +30,4 @@ name = "adblock" crate-type = ["rlib", "cdylib"] [features] -default = ["pyo3/extension-module"] +default = ["pyo3/extension-module"] \ No newline at end of file -- cgit v1.2.3