
Originally Posted by
seth1
Have you ever tried to do this on windows? I've had no problems setting it on OS X 10.5, but on windows does not seem to work, even setting up the PYTHONPATH. Maybe I am missing some steps for windows? (I am using Vista).
Hi,
sorry it took me so long, here are the steps to install Spring Python on Windows. Note that Spring Python uses standard Python's distutils commands
so there's actually nothing Windows-specific to it. I'm using Windows Server 2003 but I think it should be irrelevant.
First, I downloaded springpython-1.0.0.RELEASE.tar.gz from here
http://www.springsource.com/download/community
Extracted it to a temporary location and issued a standard "python setup.py install" command which resulted in a spur of messages with a final one saying where Spring Python had been installed to:
Code:
c:\tmp\springpython-1.0.0.RELEASE>C:\Python25\python.exe setup.py install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\springpython
[...]
running install_egg_info
Writing
C:\Python25\Lib\site-packages\springpython-1.0.0.RELEASE-py2.5.egg-info
c:\tmp\springpython-1.0.0.RELEASE>
Then I changed the directory to C:\Python25\ and fired up the Python interpreter
Code:
c:\tmp\springpython-1.0.0.RELEASE>cd C:\Python25\
c:\Python25>python
then I imported the 'springpython' package and checked where it's been imported from - c:\Python25\lib\site-packages\springpython.
Code:
Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import springpython
>>> springpython
<module 'springpython' from 'c:\Python25\lib\site-packages\springpython\__init__.py'>
>>>
Can you please, repeat the same steps on your system and tell me where it differs?
By the way, here's the info regarding the mailing list - http://springpython.webfactional.com/node/12
cheers,