From 6f9463d6facc27f4c1c06f5ab3d8f1df409acc80 Mon Sep 17 00:00:00 2001 From: Eli McRae Date: Tue, 28 Mar 2023 10:38:51 -0500 Subject: [PATCH] get a newer version of importlib-metadata and add poetry build notes to readme --- README.md | 5 ++++ poetry.lock | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 poetry.lock diff --git a/README.md b/README.md index 78c51c1..ba079c2 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ $ pip3 install xortool For development or building this repository, [poetry](https://python-poetry.org/) is needed. +```bash +poetry build +pip install dist/xortool*.whl +``` + Usage --------------------- diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..9777eeb --- /dev/null +++ b/poetry.lock @@ -0,0 +1,66 @@ +# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand. + +[[package]] +name = "docopt" +version = "0.6.2" +description = "Pythonic argument parser, that will make you smile" +category = "main" +optional = false +python-versions = "*" +files = [ + {file = "docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"}, +] + +[[package]] +name = "importlib-metadata" +version = "4.8.3" +description = "Read metadata from Python packages" +category = "dev" +optional = false +python-versions = ">=3.6" +files = [ + {file = "importlib_metadata-4.8.3-py3-none-any.whl", hash = "sha256:65a9576a5b2d58ca44d133c42a241905cc45e34d2c06fd5ba2bafa221e5d7b5e"}, + {file = "importlib_metadata-4.8.3.tar.gz", hash = "sha256:766abffff765960fcc18003801f7044eb6755ffae4521c8e8ce8e83b9c9b0668"}, +] + +[package.dependencies] +typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} +zipp = ">=0.5" + +[package.extras] +docs = ["jaraco.packaging (>=8.2)", "rst.linker (>=1.9)", "sphinx"] +perf = ["ipython"] +testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pep517", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy", "pytest-perf (>=0.9.2)"] + +[[package]] +name = "typing-extensions" +version = "4.1.1" +description = "Backported and Experimental Type Hints for Python 3.6+" +category = "dev" +optional = false +python-versions = ">=3.6" +files = [ + {file = "typing_extensions-4.1.1-py3-none-any.whl", hash = "sha256:21c85e0fe4b9a155d0799430b0ad741cdce7e359660ccbd8b530613e8df88ce2"}, + {file = "typing_extensions-4.1.1.tar.gz", hash = "sha256:1a9462dcc3347a79b1f1c0271fbe79e844580bb598bafa1ed208b94da3cdcd42"}, +] + +[[package]] +name = "zipp" +version = "3.6.0" +description = "Backport of pathlib-compatible object wrapper for zip files" +category = "dev" +optional = false +python-versions = ">=3.6" +files = [ + {file = "zipp-3.6.0-py3-none-any.whl", hash = "sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc"}, + {file = "zipp-3.6.0.tar.gz", hash = "sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832"}, +] + +[package.extras] +docs = ["jaraco.packaging (>=8.2)", "rst.linker (>=1.9)", "sphinx"] +testing = ["func-timeout", "jaraco.itertools", "pytest (>=4.6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.0.1)", "pytest-flake8", "pytest-mypy"] + +[metadata] +lock-version = "2.0" +python-versions = ">=3.6,<4.0" +content-hash = "88cc4de2bfddffb9eaa18471a86bc13f6a3896834e52c1372d912925dad0cecd" diff --git a/pyproject.toml b/pyproject.toml index ebcc73e..8a2db16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ docopt = "^0.6.2" [tool.poetry.dev-dependencies] docopt = "^0.6.2" -importlib_metadata = "4.8`" +importlib_metadata = "^4.8" [build-system] requires = ["poetry-core>=1.0.0a5"]