From bfdafa996578f9597bfc4e8ac2385c59dd6b9781 Mon Sep 17 00:00:00 2001 From: Shunsuke Shibayama Date: Sun, 17 Sep 2023 23:17:28 +0900 Subject: [PATCH] Update setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 3d11d05..fa29b9e 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def run(self): cargo_args = ["--no-default-features"] home = os.path.expanduser("~") -file_and_dirs = glob(".erg/lib/**", recursive=True, root_dir=home) +file_and_dirs = glob(home + "/" + ".erg/lib/**", recursive=True) paths = [Path(home + "/" + path) for path in file_and_dirs if os.path.isfile(home + "/" + path)] files = [(str(path).removesuffix("/" + path.name).removeprefix(home), str(path)) for path in paths] data_files = {} @@ -54,7 +54,7 @@ def run(self): long_description_content_type="text/markdown", version=version, license=license, - python_requires=">=3", + python_requires=">=3.7", rust_extensions=[ RustBin("pylyzer", args=cargo_args, cargo_manifest_args=["--locked"]) ],