On Tue, 2009-07-14 at 17:07 +0200, Michael Haubenwallner wrote: > > Usually the files are just copied instead of symlinked there. > > But as far as I know, there is no Unix-ish OS without symlink support - > even Interix does support them. > Although I cannot definitively say we won't have to select between > multiple executables and/or shared libraries for native Windows once - > they would have to be copied instead of symlinked then. > > So it should be fine as long as 'symlink' can potentially be implemented > as 'copy' for specific platforms. >
Can be done... def create_symlink(self, source, destination): self.delete_file(destination) os.symlink(source, destination) Therefore can be easily replaced for copy. What should be the default? Should uselect be able to supply both options like "uselect --copy bla bla" overrides os.symlink to copy function? > Thanks! > /haubi/ Thanks for the hint! Cheers, Sérgio -- Sérgio Almeida - meph...@gmail.com mephx @ freenode
signature.asc
Description: This is a digitally signed message part