remove git repos from requirements.txt and add one place to set them up
This commit is contained in:
parent
87e580547f
commit
970f3f605d
5 changed files with 30 additions and 14 deletions
|
|
@ -211,10 +211,11 @@ if __name__ == "__main__":
|
|||
pandora_new_revno = revno
|
||||
else:
|
||||
os.chdir(os.path.dirname(path))
|
||||
cmd = ['git', 'clone', '--depth', '1', repos[repo]['url']]
|
||||
run(*cmd)
|
||||
if 'revision' in repos[repo]:
|
||||
run('git', 'clone', repos[repo]['url'])
|
||||
run_git(path, 'checkout', repos[repo]['commit'])
|
||||
else:
|
||||
run('git', 'clone', '--depth', '1', repos[repo]['url'])
|
||||
setup = os.path.join(base, repos[repo]['path'], 'setup.py')
|
||||
if repo in ('python-ox', 'oxtimelines') and os.path.exists(setup):
|
||||
os.chdir(os.path.dirname(setup))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue