Restructuring XSY

5 views
Skip to first unread message

Moon Ho Hwang

unread,
Oct 6, 2011, 7:20:52 PM10/6/11
to xsy-dev...@googlegroups.com
HI Developers,

I have made XSY have a "package" structure.
Even though I haven't make its installation setup.py, you can unzip
into where your sys.path is point which can be verified by
>> import sys
>> print sys.path
in Python or Jython.


For example of my Python2.7, sys.path includes
['', 'C:\\Python27\\lib\\site-packages\\pyparsing-1.5.6-py2.7-win32.egg',
'C:\\WINDOWS\\system32\\python27.zip', 'C:\\Python27\\DLLs',
'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\lib-tk', 'C:\\Python27',
'C:\\Python27\\lib\\site-packages',
'C:\\Python27\\lib\\site-packages\\PIL',
'C:\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']

so I move my XSY directory to
C:\Python27\Lib.

If you are Jython users, you might have different whey print sys.path.
['', 'C:\\jython2.5.2\\Lib', '__classpath__', '__pyclasspath__/',
'C:\\jython2.5.2\\Lib\\site-packages']

so you might need to move XSY directory to C:\jython2.5.2\Lib that I
did not try out yet.

If you are Jython users, please test out and give me a feedback.

Best Regards,

Moon
--
Moon Ho Hwang
https://sites.google.com/site/moonhohwang/

Lisandru Muzy

unread,
Oct 7, 2011, 5:03:58 AM10/7/11
to xsy-dev...@googlegroups.com
Le 07/10/2011 01:20, Moon Ho Hwang a �crit :

> HI Developers,
>
> I have made XSY have a "package" structure.
> Even though I haven't make its installation setup.py, you can unzip
> into where your sys.path is point which can be verified by
>>> import sys
>>> print sys.path
> in Python or Jython.
>
>
> For example of my Python2.7, sys.path includes
> ['', 'C:\\Python27\\lib\\site-packages\\pyparsing-1.5.6-py2.7-win32.egg',
> 'C:\\WINDOWS\\system32\\python27.zip', 'C:\\Python27\\DLLs',
> 'C:\\Python27\\lib', 'C:\\Python27\\lib\\plat-win',
> 'C:\\Python27\\lib\\lib-tk', 'C:\\Python27',
> 'C:\\Python27\\lib\\site-packages',
> 'C:\\Python27\\lib\\site-packages\\PIL',
> 'C:\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']
>
> so I move my XSY directory to
> C:\Python27\Lib.
>
> If you are Jython users, you might have different whey print sys.path.
> ['', 'C:\\jython2.5.2\\Lib', '__classpath__', '__pyclasspath__/',
> 'C:\\jython2.5.2\\Lib\\site-packages']
>
> so you might need to move XSY directory to C:\jython2.5.2\Lib that I
> did not try out yet.
yes, and this is working.
--Alex

> If you are Jython users, please test out and give me a feedback.
>
> Best Regards,
>
> Moon


--
--
Research Fellow CNRS
Associate Editor, Simulation: Transactions of the Society for Modeling and Simulation International
Research Laboratory: UMR CNRS LISA
Universit� di Corsica - Pasquale Paoli
UFR Drittu, Scenzi suciali, ecun�michi � di gestioni
22, av. Jean Nicoli, BP 52
20250 Corti
http://msdl.cs.mcgill.ca/people/muzy
====================
NEW FREE ACCESS BOOK! (Knowledge is not for business)
Activity-Based Modeling and Simulation
http://www.msh-clermont.fr/spip.php?article2380
====================

Reply all
Reply to author
Forward
0 new messages