Exemple #1
0
def print_setup_deps():
    deps = setupdep.deps(args.rootdir)
    if deps is None:
        return False
    for dep in deps:
        print dep
    return True
Exemple #2
0
 def test_too_hard(self):
     repodir = os.path.join(testdir, "setup_repo_too_hard")
     self.assertTrue(setupdep.deps(repodir) is None)
Exemple #3
0
 def test_hard(self):
     repodir = os.path.join(testdir, "setup_repo_hard")
     self.assertTrue(
         setupdep.deps(repodir) == ['nose==1.3.0', 'wsgiref==0.1.2'])
Exemple #4
0
 def test_too_hard(self):
     repodir = os.path.join(testdir, "setup_repo_too_hard")
     self.assertTrue(setupdep.deps(repodir) is None)
Exemple #5
0
 def test_hard(self):
     repodir = os.path.join(testdir, "setup_repo_hard")
     self.assertTrue(setupdep.deps(repodir) == ['nose==1.3.0', 'wsgiref==0.1.2'])