comparison setup.py @ 584:0a06cf833f5a

browser_side: various improvements, especially for MUC
author souliane <souliane@mailoo.org>
date Wed, 22 Oct 2014 19:03:55 +0200
parents d888bb2a23a9
children be3fd3874c3a
comparison
equal deleted inserted replaced
583:4c6c61696ba0 584:0a06cf833f5a
117 tmp_dir = tempfile.mkdtemp() 117 tmp_dir = tempfile.mkdtemp()
118 import sat, sat_frontends, libervia 118 import sat, sat_frontends, libervia
119 os.symlink(os.path.dirname(sat.__file__), os.path.join(tmp_dir,"sat")) # FIXME: only work on unixes 119 os.symlink(os.path.dirname(sat.__file__), os.path.join(tmp_dir,"sat")) # FIXME: only work on unixes
120 os.symlink(os.path.dirname(sat_frontends.__file__), os.path.join(tmp_dir,"sat_frontends")) # FIXME: only work on unixes 120 os.symlink(os.path.dirname(sat_frontends.__file__), os.path.join(tmp_dir,"sat_frontends")) # FIXME: only work on unixes
121 os.symlink(os.path.dirname(libervia.__file__), os.path.join(tmp_dir,"libervia")) # FIXME: only work on unixes 121 os.symlink(os.path.dirname(libervia.__file__), os.path.join(tmp_dir,"libervia")) # FIXME: only work on unixes
122 result = subprocess.call(['pyjsbuild', 'libervia_main', '--no-compile-inplace', '-I', tmp_dir, '-o', self.pyjamas_output_dir]) 122 result = subprocess.call(['pyjsbuild', 'libervia_main', '-d', '--no-compile-inplace', '-I', tmp_dir, '-o', self.pyjamas_output_dir])
123 shutil.rmtree(tmp_dir) 123 shutil.rmtree(tmp_dir)
124 os.chdir(cwd) 124 os.chdir(cwd)
125 return result 125 return result
126 126
127 def copy_data_files(self): 127 def copy_data_files(self):