From 10910dcf5d19f2c2502f2eafebad20134c322a6f Mon Sep 17 00:00:00 2001 From: Alon Date: Sat, 18 Jul 2020 13:18:45 +0300 Subject: [PATCH] Poetry working --- {viewer => GT521F32-viewer}/__init__.py | 0 {viewer => GT521F32-viewer}/__main__.py | 0 {viewer => GT521F32-viewer}/viewer.py | 0 poetry.lock | 3 ++- pyproject.toml | 9 +++++++-- 5 files changed, 9 insertions(+), 3 deletions(-) rename {viewer => GT521F32-viewer}/__init__.py (100%) rename {viewer => GT521F32-viewer}/__main__.py (100%) rename {viewer => GT521F32-viewer}/viewer.py (100%) diff --git a/viewer/__init__.py b/GT521F32-viewer/__init__.py similarity index 100% rename from viewer/__init__.py rename to GT521F32-viewer/__init__.py diff --git a/viewer/__main__.py b/GT521F32-viewer/__main__.py similarity index 100% rename from viewer/__main__.py rename to GT521F32-viewer/__main__.py diff --git a/viewer/viewer.py b/GT521F32-viewer/viewer.py similarity index 100% rename from viewer/viewer.py rename to GT521F32-viewer/viewer.py diff --git a/poetry.lock b/poetry.lock index fede904..a2d37cb 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,6 +1,7 @@ [[package]] category = "main" description = "Cython-based wrapper for sending SCSI Generic I/O commands from Python." +marker = "sys_platform == \"linux\"" name = "cython-sgio" optional = false python-versions = "*" @@ -26,7 +27,7 @@ python-versions = "*" version = "3.4" [metadata] -content-hash = "0081b8d5f128370274c66b6dbb168f1fa6dd6c4686f0c84b0bc3cb7672042f19" +content-hash = "77fe5c07ab075f32efb2c461057f50d642731fd3720706c66262eeb50fcab41b" python-versions = "^3.8" [metadata.files] diff --git a/pyproject.toml b/pyproject.toml index e978d9c..16614b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,14 +1,19 @@ [tool.poetry] name = "PyGT521F32" -version = "0.1.0" +version = "0.1.3" description = "An SDK module for the ADH-Tech GT521F32 fingerprint scanner" authors = ["Alon "] +packages = [ + { include = "GT521F32"}, + { include = "GT521F32-viewer"}, +] + [tool.poetry.dependencies] python = "^3.8" -cython-sgio = "^1.1.2" pyserial = "^3.4" Pillow = "^7.2.0" +cython-sgio = {version = "^1.1.2", platform = "linux"} [tool.poetry.dev-dependencies]