[FIX] setup: fix the python regex to prepare dev environement
This commit is contained in:
+1
-1
@@ -117,7 +117,7 @@ def cmd_setup_git_review():
|
||||
def setup_deps_debian(git_dir):
|
||||
debian_control_path = os.path.join(git_dir, 'debian/control')
|
||||
debian_control = open(debian_control_path).read()
|
||||
debs = re.findall('python-[0-9a-z]+',debian_control)
|
||||
debs = re.findall('python3-[0-9a-z]+',debian_control)
|
||||
debs += ["postgresql"]
|
||||
proc = subprocess.Popen(['sudo','apt-get','install'] + debs, stdin=open('/dev/tty'))
|
||||
proc.communicate()
|
||||
|
||||
Reference in New Issue
Block a user