diff options
author | Arun Isaac | 2025-07-08 16:14:00 +0100 |
---|---|---|
committer | Arun Isaac | 2025-07-17 01:47:44 +0100 |
commit | a6bf9abb91ad6576ce23e7f8731e74c2a73d2ea6 (patch) | |
tree | c2e97040871cb4f779a1a59687565995bd1b3a80 | |
parent | 2829c4311d0c21d983621ce8b2c5565ddbc5dbf4 (diff) | |
download | pyhegp-a6bf9abb91ad6576ce23e7f8731e74c2a73d2ea6.tar.gz pyhegp-a6bf9abb91ad6576ce23e7f8731e74c2a73d2ea6.tar.lz pyhegp-a6bf9abb91ad6576ce23e7f8731e74c2a73d2ea6.zip |
Organize source into directory structure.
* pyhegp/__init__.py: New file.
* pyhegp.py: Move to pyhegp/pyhegp.py.
* test_pyhegp.py: Move to tests/test_pyhegp.py. Import from
pyhegp.pyhegp instead of from pyhegp.
* pyproject.toml (project.scripts)[pyhegp]: Switch to
pyhegp.pyhegp:main.
-rw-r--r-- | pyhegp/__init__.py | 0 | ||||
-rw-r--r-- | pyhegp/pyhegp.py (renamed from pyhegp.py) | 0 | ||||
-rw-r--r-- | pyproject.toml | 2 | ||||
-rw-r--r-- | tests/test_pyhegp.py (renamed from test_pyhegp.py) | 2 |
4 files changed, 2 insertions, 2 deletions
diff --git a/pyhegp/__init__.py b/pyhegp/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/pyhegp/__init__.py diff --git a/pyhegp.py b/pyhegp/pyhegp.py index 053ddaf..053ddaf 100644 --- a/pyhegp.py +++ b/pyhegp/pyhegp.py diff --git a/pyproject.toml b/pyproject.toml index 36fc07e..c0a6ab2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,4 +22,4 @@ dependencies = [ ] [project.scripts] -pyhegp = "pyhegp:main" +pyhegp = "pyhegp.pyhegp:main" diff --git a/test_pyhegp.py b/tests/test_pyhegp.py index 19e58d2..eac499e 100644 --- a/test_pyhegp.py +++ b/tests/test_pyhegp.py @@ -21,7 +21,7 @@ from hypothesis.extra.numpy import arrays, array_shapes import numpy as np from pytest import approx -from pyhegp import hegp_encrypt, hegp_decrypt, random_key +from pyhegp.pyhegp import hegp_encrypt, hegp_decrypt, random_key @given(st.one_of( arrays("int32", |