(self)
| 296 | ) |
| 297 | |
| 298 | def run(self): |
| 299 | if sys.platform == 'win32': |
| 300 | raise Exception("This doesn't work on Windows.") |
| 301 | pkg = os.path.join(os.getcwd(), 'IPython') |
| 302 | dest = os.path.join(self.install_dir, 'IPython') |
| 303 | if os.path.islink(dest): |
| 304 | print('removing existing symlink at %s' % dest) |
| 305 | os.unlink(dest) |
| 306 | print('symlinking %s -> %s' % (pkg, dest)) |
| 307 | os.symlink(pkg, dest) |
| 308 | |
| 309 | class unsymlink(install): |
| 310 | def run(self): |
nothing calls this directly
no outgoing calls
no test coverage detected