#19373: Windows file locking requires pywin32 -------------------------------------+------------------------------------- Reporter: techtonik | Owner: nobody Type: | Status: new Cleanup/optimization | Version: 1.4 Component: File | Resolution: uploads/storage | Triage Stage: Design Severity: Normal | decision needed Keywords: | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by manfre): I'm not in a position to make a decision, but I'll share some of my insights. I've needed PyWin32 installed on every windows system because of django- mssql, the file locking support was secondary. The installation is easy and the project doesn't release new version very often. The only real downside to PyWin32 that I've encountered is that it doesn't play well with virtualenv because `--system-site-packages` is required. This requirement is not exclusive to PyWin32 and almost every binary package that drops DLLs needs to be installed globally and use `--system- site-packages` in virtualenvs. This can become a problem with maintaining an automated build system and for some deployment scenarios. If requiring `--system-site-packages` is an acceptable, then documenting PyWin32 would be the easiest path forward and I'd be happy to submit a patch. If Django doesn't want to force `--system-site-packages`, then definitely look for another option that only addresses the file locking issue, instead of all the other stuff that is rolled in to PyWin32. -- Ticket URL: <https://code.djangoproject.com/ticket/19373#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.