collective / collective.recipe.omelette

https://pypi.org/project/collective.recipe.omelette/
4 stars 1 forks source link

Use ctypes to create/delete symlinks on Windows Vista/7 instead of junction.exe #1

Closed lck closed 12 years ago

davisagli commented 12 years ago

I've gotta say, I'm not a huge fan of including this ctypes stuff in omelette, since I won't know how to fix it if there's a bug in it. I would be much more comfortable depending (conditionally, for Windows only) on a separate package which implements the symlinking via ctypes.

lck commented 12 years ago

I prefer simple solutions (don't like adding another dependency to plone) but it seems I have no choice. I will create the package soon and make another pull rquest...

lck commented 12 years ago

David, please review the latest pull request. Now the ctypes symlinks management is implemented as separate package [http://pypi.python.org/pypi/ntfsutils] and included only when installing on windows. I tested everything on Windows7, with latest plone.cordev buildout.

Thanks -Roman

davisagli commented 12 years ago

Thanks for working on this and for adjusting it to use ntfsutils.

davisagli commented 12 years ago

And released: http://pypi.python.org/pypi/collective.recipe.omelette/0.14

lck commented 12 years ago

David, thanks for releasing the version

R.