virtualenv/res/lib/lib_create_env.py
changeset 102 3e27677ce667
parent 100 5fd5b4e7ae34
child 104 8169c4dc4faa
equal deleted inserted replaced
101:5c8fc567fd00 102:3e27677ce667
   151     logger.notify("Install jcc")
   151     logger.notify("Install jcc")
   152     call_subprocess([os.path.abspath(os.path.join(home_dir, 'bin', 'python')), 'setup.py', 'install'],
   152     call_subprocess([os.path.abspath(os.path.join(home_dir, 'bin', 'python')), 'setup.py', 'install'],
   153                     cwd=jcc_src_path,
   153                     cwd=jcc_src_path,
   154                     filter_stdout=filter_python_develop,
   154                     filter_stdout=filter_python_develop,
   155                     show_stdout=True,
   155                     show_stdout=True,
   156                     extra_env={'JCC_JDK' : '/usr/lib/jvm/java-11-openjdk-i386/'})
   156                     extra_env={'JCC_JDK' : '/usr/lib/jvm/java-7-oracle/'})
   157     #install pylucene
   157     #install pylucene
   158 
   158 
   159     logger.notify("Install pylucene")
   159     logger.notify("Install pylucene")
   160     #modify makefile
   160     #modify makefile
   161     makefile_path = os.path.join(pylucene_src_path,"Makefile")
   161     makefile_path = os.path.join(pylucene_src_path,"Makefile")