mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Vendoring task: remove __main__.py and cli.py
Some vendored libraries we ship have a command line interface. We are not using it, so it's safe to remove.
This commit is contained in:
@@ -335,6 +335,16 @@ def post_install_cleanup(ctx, vendor_dir):
|
||||
|
||||
remove_all(vendor_dir.glob("toml.py"))
|
||||
|
||||
remove_all(vendor_dir / "dotenv" / "cli.py")
|
||||
remove_all(vendor_dir / "dotenv" / "__main__.py")
|
||||
|
||||
remove_all(vendor_dir / "plette" / "__main__.py")
|
||||
|
||||
remove_all(vendor_dir / "pipdeptree" / "__main__.py")
|
||||
|
||||
remove_all(vendor_dir / "pythonfinder" / "__main__.py")
|
||||
remove_all(vendor_dir / "pythonfinder" / "cli.py")
|
||||
|
||||
|
||||
@invoke.task
|
||||
def apply_patches(ctx, patched=False, pre=False):
|
||||
|
||||
Reference in New Issue
Block a user