Skip to content
Snippets Groups Projects
Commit fa5a6b11 authored by jkerdreu's avatar jkerdreu
Browse files

Lint ..



git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/0.7@3052 b32b6428-25c9-4566-ad07-03861ab6144f
parent edd77b6f
Branches
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ BLACKLIST = ['lm_sensors',
'SensFloor',
'fuse']
def title(msg):
print("="*78)
print("Running %s" % msg)
......@@ -27,11 +28,13 @@ def required():
os.system('pip install --upgrade pip')
os.system('pip install wheel')
def setup_develop(path):
title(path)
os.system('cd %s && pip install -e .' % path)
os.system('cd %s && %s setup.py develop' % (path, PYTHON))
def setup_install(path):
title(path)
os.system('cd %s && pip install -e .' % path)
......@@ -43,13 +46,16 @@ def search_setup():
result = []
for k in l:
path = '/'.join(k.split('/')[0:-1])
if path in BASE:continue
if path in BASE:
continue
last = path.split('/')[-1]
if last in BLACKLIST:continue
if last in BLACKLIST:
continue
result.append(path)
return result
def run():
required()
for p in BASE:
......@@ -57,7 +63,6 @@ def run():
for p in search_setup():
setup_develop(p)
if __name__ == '__main__':
run()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment