Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mtshiba committed Sep 17, 2023
1 parent 71e69d6 commit bfdafa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand All @@ -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"])
],
Expand Down

0 comments on commit bfdafa9

Please sign in to comment.