Mercurial > libervia-web
comparison setup.py @ 715:b2465423c76e
revert change on setup.py that was commited by accident
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 28 Jul 2015 22:22:10 +0200 |
parents | 03e9fe91081c |
children | 9596da27cd7c |
comparison
equal
deleted
inserted
replaced
714:03e9fe91081c | 715:b2465423c76e |
---|---|
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 for module in ('libervia_main', 'libervia_test'): | 122 for module in ('libervia_main', 'libervia_test'): |
123 result = subprocess.call(['pyjsbuild', module, '--platforms=mozilla', '-d', '--no-compile-inplace', '-I', tmp_dir, '-o', self.pyjamas_output_dir]) | 123 result = subprocess.call(['pyjsbuild', module, '-d', '--no-compile-inplace', '-I', tmp_dir, '-o', self.pyjamas_output_dir]) |
124 if result != 0: | 124 if result != 0: |
125 continue | 125 continue |
126 shutil.rmtree(tmp_dir) | 126 shutil.rmtree(tmp_dir) |
127 os.chdir(cwd) | 127 os.chdir(cwd) |
128 return result | 128 return result |