Hi,I'm moving my development environment (python, Django, virtualenv) from Windowsto Linux (Debian more specific). Tim Golden Well I'm not sure how far something like WINE would take you, but I suggest that trying to develop Windows-specific code in a Linux Dev environment is creating a rod for your own back.
![]() ![]()
For the specific case you mention, you should be able to switch, lock, stock & barrel to python-ldap or other LDAP modules. But that means a fairly major rewrite, plus that's only one issue. None of the Windows-specific stuff will work: registry, win32api calls, whatever you're pulling out of the pywin32. On 12:58, Benedict Verheyen wrote:I'm moving my development environment (python, Django, virtualenv) from Windowsto Linux (Debian more specific). On 14:37, Tim Golden wrote:Well I'm not sure how far something like WINE would take you,but I suggest that trying to develop Windows-specific code ina Linux Dev environment is creating a rod for your own back.For the specific case you mention, you should be able to switch,lock, stock & barrel to python-ldap or other LDAP modules.
Butthat means a fairly major rewrite, plus that's only one issue.None of the Windows-specific stuff will work: registry, win32apicalls, whatever you're pulling out of the pywin32 packages.TJGHi,thanks for your answer.For the moment, i only need to connect to AD to authenticate.But you raise a good point that if I need more functionality, I will encounter problems.Regards,Benedict. Steve Holden Benedict: Have you considered running a virtual Windows machine to handle the specific issues that really require a Windows environment? If the loading isn't at brutal levels VirtualBox is a very adequate solution, and of course Python user VMWare has a full range of industrial-grade solutions for virtualization. Regards Steve - Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon 2011 Atlanta March 9-17 See Python Video! Holden Web LLC.
On 14:37, Tim Golden wrote:Well I'm not sure how far something like WINE would take you,but I suggest that trying to develop Windows-specific code ina Linux Dev environment is creating a rod for your own back.For the specific case you mention, you should be able to switch,lock, stock & barrel to python-ldap or other LDAP modules. Butthat means a fairly major rewrite, plus that's only one issue.None of the Windows-specific stuff will work: registry, win32apicalls, whatever you're pulling out of the pywin32 packages.TJGHi,thanks for your answer.For the moment, i only need to connect to AD to authenticate.But you raise a good point that if I need more functionality, I will encounter problems.Benedict:Have you considered running a virtual Windows machine to handle thespecific issues that really require a Windows environment?
If theloading isn't at brutal levels VirtualBox is a very adequate solution,and of course Python user VMWare has a full range of industrial-gradesolutions for virtualization.regardsSteve. Hi,thanks for your answer.For the moment, i only need to connect to AD to authenticate.But you raise a good point that if I need more functionality, I will encounter problems.Benedict:Have you considered running a virtual Windows machine to handle thespecific issues that really require a Windows environment? If theloading isn't at brutal levels VirtualBox is a very adequate solution,and of course Python user VMWare has a full range of industrial-gradesolutions for virtualization.regardsSteveHi Steve,good suggestion. I use VirtualBox for other needs so it's not a lot of hassle to set one up.Thanks!Regards,Benedict. Am 13:58, schrieb Benedict Verheyen:Hi,I'm moving my development environment (python, Django, virtualenv) from Windowsto Linux (Debian more specific).
The Python Package Index (PyPI) is a repository of software for the Python programming language. PyPI helps you find and install software developed and shared by the Python community. Learn about installing packages. Package authors use PyPI to distribute their software. Learn how to package your Python code for PyPI.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |