[GRASS-dev] Handling of Python scripts on MS Windows

Pietro peter.zamb at gmail.com
Wed Oct 2 09:32:06 PDT 2013


Hi Vaclav,

On Wed, Oct 2, 2013 at 3:47 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
> I'm always for pure, correct and clean solutions. However, I'm not expert
> neither in MS Windows registry nor in Python virtual environments nor in
> covering .py to .exe and nobody provided other implementation, so I provided
> mine which is messy but it only reflects mess which I---maybe just because
> of my lack of knowledge---see on that system.

Maybe, to resolve this issue, we can integrate in the windows
installer the virtualenv[0] python package, as reported in the link:
"virtualenv is a tool to create isolated Python environments". It
should works with Windows... but I never used on this platform... I'm
using virtualenv on linux, because the default python interpreter on
my distribution is python3.x, and in this way I can easily test GRASS
using different python versions (2.4, 2.6, 2.7).

I'm ignorant on Windows and maybe virtualenv is useless in this
case... or maybe integrate  virtualenv on the windows installer is too
complex, I have no clue!

Pietro

[0] https://pypi.python.org/pypi/virtualenv


More information about the grass-dev mailing list