Skip to content

Commit

Permalink
pkg: prune all semi-private extras (#2307)
Browse files Browse the repository at this point in the history
(cherry picked from commit c86ae7b)
  • Loading branch information
Borda committed Jan 17, 2024
1 parent f0e11da commit 6399c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _prepare_extras(skip_pattern: str = "^_", skip_files: Tuple[str] = ("base.tx
# create an 'all' keyword that install all possible dependencies
extras_req["all"] = list(chain([pkgs for k, pkgs in extras_req.items() if k not in ("_test", "_tests")]))
extras_req["dev"] = extras_req["all"] + extras_req["_tests"]
return extras_req
return {k: v for k, v in extras_req.items() if not k.startswith("_")}


# https://packaging.python.org/discussions/install-requires-vs-requirements /
Expand Down

0 comments on commit 6399c1b

Please sign in to comment.