From b4fe55c1e42157226edaf53cedbbe560740f3249 Mon Sep 17 00:00:00 2001 From: Dexter Duckworth Date: Wed, 2 Aug 2023 12:18:59 -0400 Subject: [PATCH] chore: prepared pyella package for publication Updated package metadata. Added install instructions to readme. --- pyella/Cargo.toml | 3 ++- pyella/README.md | 11 ++++++++++- pyella/pyproject.toml | 23 +++++++++++++++++++++-- 3 files changed, 33 insertions(+), 4 deletions(-) diff --git a/pyella/Cargo.toml b/pyella/Cargo.toml index 6a5f14b..5f762e2 100644 --- a/pyella/Cargo.toml +++ b/pyella/Cargo.toml @@ -6,10 +6,11 @@ authors.workspace = true license.workspace = true repository.workspace = true description = "Python bindings for the ella datastore." +readme = "README.md" [lib] name = "pyella" -crate-type = ["cdylib", "lib"] +crate-type = ["cdylib", "rlib"] [dependencies] pyo3 = { workspace = true, features = ["extension-module"] } diff --git a/pyella/README.md b/pyella/README.md index f124be5..e82b0c8 100644 --- a/pyella/README.md +++ b/pyella/README.md @@ -1,3 +1,12 @@ -# pyella +# pyella-rs Python bindings for the ella datastore. + +## Installation + +You can install `pyella-rs` from PyPI using pip: + +```shell +python -m pip install pyella-rs +``` + diff --git a/pyella/pyproject.toml b/pyella/pyproject.toml index 5006ea5..5262b82 100644 --- a/pyella/pyproject.toml +++ b/pyella/pyproject.toml @@ -1,10 +1,29 @@ [project] -name = "ella" +name = "pyella-rs" +requires-python = ">=3.8" +classifiers = [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: Apache Software License", + "License :: OSI Approved :: MIT License", + "Operating System :: MacOS", + "Operating System :: Microsoft :: Windows", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python", + "Programming Language :: Rust", + "Programming Language :: Python :: 3", +] + +[project.urls] +Repository = "https://github.com/BlackrockNeurotech/ella" +Changelog = "https://github.com/BlackrockNeurotech/ella/blob/main/CHANGELOG.md" [build-system] -requires = ["maturin>=0.14,<0.15"] +requires = ["maturin>=1.0,<2.0"] build-backend = "maturin" [tool.maturin] features = ["pyo3/extension-module"] module-name = "ella._internal" +locked = true +exclude = [{ path = "examples/**", format = "sdist" }]