Skip to content

Commit

Permalink
chore: prepared pyella package for publication
Browse files Browse the repository at this point in the history
Updated package metadata.
Added install instructions to readme.
  • Loading branch information
Dexter Duckworth committed Aug 2, 2023
1 parent 6de2cc8 commit b4fe55c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pyella/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
11 changes: 10 additions & 1 deletion pyella/README.md
Original file line number Diff line number Diff line change
@@ -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
```

23 changes: 21 additions & 2 deletions pyella/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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" }]

0 comments on commit b4fe55c

Please sign in to comment.