mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Exclude setup_path from pipfile
Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
+1
-1
@@ -753,7 +753,7 @@ class VCSRequirement(FileRequirement):
|
||||
|
||||
@property
|
||||
def pipfile_part(self):
|
||||
excludes = ["_repo", "_base_line"]
|
||||
excludes = ["_repo", "_base_line", "setup_path"]
|
||||
filter_func = lambda k, v: bool(v) is True and k.name not in excludes
|
||||
pipfile_dict = attr.asdict(self, filter=filter_func).copy()
|
||||
if "vcs" in pipfile_dict:
|
||||
|
||||
Reference in New Issue
Block a user