Skip to content

Commit

Permalink
build: clearup py module
Browse files Browse the repository at this point in the history
  • Loading branch information
AshGw committed May 31, 2024
1 parent 493275c commit fb780bf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions py/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from py import *

key = gen_key()
nonce = gen_nonce()
gcm = GCM()
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ classifiers = [
dynamic = ["version"]

[tool.maturin]
python-source = "python"
module-name = "gcm_rs._lib_name"
python-source = "."
module-name = "py._lib_name"
features = ["pyo3/extension-module"]
4 changes: 0 additions & 4 deletions python/gcm_rs/__init__.py

This file was deleted.

0 comments on commit fb780bf

Please sign in to comment.