Dzil authordeps requires dist.ini.
This commit is contained in:
parent
1967b13d98
commit
743c83c4b4
1 changed files with 4 additions and 3 deletions
|
@ -999,9 +999,10 @@ class DistZilla(BuildSystem):
|
|||
return cls(os.path.join(path, "dist.ini"))
|
||||
|
||||
def get_declared_dependencies(self, session, fixers=None):
|
||||
lines = run_with_build_fixers(session, ["dzil", "authordeps"], fixers)
|
||||
for entry in lines:
|
||||
yield "build", PerlModuleRequirement(entry.strip())
|
||||
if os.path.exists(os.path.join(self.path, "dist.ini")):
|
||||
lines = run_with_build_fixers(session, ["dzil", "authordeps"], fixers)
|
||||
for entry in lines:
|
||||
yield "build", PerlModuleRequirement(entry.strip())
|
||||
if os.path.exists(os.path.join(os.path.dirname(self.path), "cpanfile")):
|
||||
yield from _declared_deps_from_cpanfile(session, fixers)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue