fix: moved import, exclude dist from packaging

This commit is contained in:
əlemi 2024-09-05 03:28:46 +02:00
parent 9889891612
commit b8376a5ef8
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ authors = [
license = "GPL-3.0-only" license = "GPL-3.0-only"
edition = "2021" edition = "2021"
version = "0.7.0-beta.1" version = "0.7.0-beta.1"
exclude = ["dist/*"]
[lib] [lib]
name = "codemp" name = "codemp"

View file

@ -6,7 +6,7 @@ use pyo3::prelude::*;
impl Client { impl Client {
#[new] #[new]
fn __new__(host: String, username: String, password: String) -> crate::errors::ConnectionResult<Self> { fn __new__(host: String, username: String, password: String) -> crate::errors::ConnectionResult<Self> {
tokio().block_on(Client::connect(host, username, password)) super::tokio().block_on(Client::connect(host, username, password))
} }
// #[pyo3(name = "join_workspace")] // #[pyo3(name = "join_workspace")]