Using Luban on Windows

10 views
Skip to first unread message

Nik

unread,
Oct 28, 2009, 11:35:06 AM10/28/09
to luban-users
Hi folks,

The luban package seems to be unix centric.
It should be possible to make luban usable
for Windows users by a "few" modifications
which factor out its unix specific aspects.
It sound very naive but I hope that it is not that complex!!

Here are some preliminary suggestions which could
be considered as first steps in this direction:

1) replace envs.sh by
------------------------------------- envs.cmd
-------------------------------------
set LUBAN_DIR=D:\programs\luban\luban-0.2a2-py2.0
set PYRE_DIR=%LUBAN_DIR%
set PATH=%LUBAN_DIR%\bin;%LUBAN_DIR%\lib;%PATH%
set PYTHONPATH=%LUBAN_DIR%\modules:%PYTHONPATH%
-----------------------------------------------------------------------------------------

2) avoid symbolic links which cause the following error message
while calling "create-luban-project.py":
.......
os.symlink(link.target, link.name)
AttributeError: 'module' object has no attribute 'symlink'

There are probably a few more platform dependencies
which should also be modified.

Regards
Nik

PS: I'm personally a regular unix/macosx user.
But sometimes one doesn't have the freedom to choose his/her
platform:-(


linjiao

unread,
Oct 28, 2009, 12:11:47 PM10/28/09
to luban-users
Hi Nik,

I tend to avoid Windows just because I am scared of Windows
development environment :)

I personally think maintaining a project in windows environment takes
much more time than what takes in *nix environment.

But I think this is a great suggestion. If someone like you can help
us create and maintain that piece of code it would be even better! :)

Thanks,
Jiao
Reply all
Reply to author
Forward
0 new messages