public
Description: top secret early stage project
Homepage:
Clone URL: git://github.com/thraxil/ccdb.git
ccdb / bootstrap.py
100755 18 lines (13 sloc) 0.414 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python
import os
import sys
import subprocess
import shutil
 
pwd = os.path.dirname(__file__)
vedir = os.path.join(pwd,"ve")
 
if os.path.exists(vedir):
    shutil.rmtree(vedir)
 
subprocess.call([os.path.join(pwd,"pip.py"),"install",
                 "-E",os.path.join(pwd,"ve"),
                 "--enable-site-packages",
                 "--requirement",os.path.join(pwd,"requirements/apps.txt")])