Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lucyge2022 committed Jun 3, 2024
1 parent b00778e commit 72a6950
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions rust/alluxiocommon/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "alluxiocommon"
version = "1.0.1.dev1"
edition = "2024"
version = "1.0.1"
edition = "2018"

[lib]
name = "alluxiocommon"
Expand Down
20 changes: 11 additions & 9 deletions rust/alluxiocommon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,20 @@ https://www.maturin.rs/installation

1) create virtualenv, (a tool used to create isolated Python environments):


python3 -m venv .env
source .env/bin/activate
maturin develop
```
python3 -m venv .env
source .env/bin/activate
maturin develop
```

2) then can start using:


python3
>>> from alluxiocommon import _DataManager
>>> dm = _DataManager(4)
>>> # do something with dm...
```
python3
from alluxiocommon import _DataManager
dm = _DataManager(4)
# do something with dm...
```

### To build wheel package and install with pip:

Expand Down

0 comments on commit 72a6950

Please sign in to comment.