Re: [Zope3-Users] Zope3 as a package

2006-04-05 Thread Lennart Regebro
On 4/5/06, David Pratt [EMAIL PROTECTED] wrote:
 Hi. I am interested in Z3 for a desktop app and would be looking at
 using py2exe and py2app for packaging along with the gui and its
 functionality. It seems at the outset this might be sort of messy since
 Zope typically expects to live somewhere other than site-packages at the
 outset and then has its own packages to deal with.

Yes, but the zope packages only expect to be somewhere on the python
path. That this is usually not in site-packages doesn't matter.

 I am curious to know whether Zope's packaging will
 eventually change to be like other things python (and other frameworks
 like TurboGears or Django) in this regard that are happy to live in
 site-packages.

They should be, yes. Do you have an example of a zope package that
doesn't work if it is located in site-packages?

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope3 as a package

2006-04-05 Thread David Pratt
Hi Lennart. Thank you for your reply. These queries are general as I am 
 committing to Z3 for this project. The fact that Zope is a bit 
different than a regular python package itself has triggered these 
thoughts. At this point, I don't have anything that doesn't work as I am 
just getting started with this project. As I work through the app and 
attempt to package it, I may have specific issues that I will bring 
forward. I am also interested in the experiences of others that may have 
done something similar and what challenges they may have faced 
(particularly with packaging) if any.


Regards,
David

Lennart Regebro wrote:

On 4/5/06, David Pratt [EMAIL PROTECTED] wrote:


Hi. I am interested in Z3 for a desktop app and would be looking at
using py2exe and py2app for packaging along with the gui and its
functionality. It seems at the outset this might be sort of messy since
Zope typically expects to live somewhere other than site-packages at the
outset and then has its own packages to deal with.



Yes, but the zope packages only expect to be somewhere on the python
path. That this is usually not in site-packages doesn't matter.



I am curious to know whether Zope's packaging will
eventually change to be like other things python (and other frameworks
like TurboGears or Django) in this regard that are happy to live in
site-packages.



They should be, yes. Do you have an example of a zope package that
doesn't work if it is located in site-packages?

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope3 as a package

2006-04-05 Thread Fred Drake
On 4/5/06, David Pratt [EMAIL PROTECTED] wrote:
 Hi Fred. Thanks for this. The packaging code for Z3 for Windows is a
 good example. I will be adding other components as well as Zope but this
 could provide a good reference. Is the packaging code in svn somewhere
 where I can look at this. Many thanks.

The following documents should help:

http://dev.zope.org/Zope3/MakingARelease
http://dev.zope.org/Zope3/ZopeWindowsRelease
http://www.zope.org/Members/fdrake/zpkgtools/


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Don't let schooling interfere with your education. -- Mark Twain
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Zope3 as a package

2006-04-05 Thread David Pratt
Hi Fred. I appreciate your time to identify these documents that will 
help clarify this for me. This is very helpful. Thank you.


Regards,
David

Fred Drake wrote:

On 4/5/06, David Pratt [EMAIL PROTECTED] wrote:


Hi Fred. Thanks for this. The packaging code for Z3 for Windows is a
good example. I will be adding other components as well as Zope but this
could provide a good reference. Is the packaging code in svn somewhere
where I can look at this. Many thanks.



The following documents should help:

http://dev.zope.org/Zope3/MakingARelease
http://dev.zope.org/Zope3/ZopeWindowsRelease
http://www.zope.org/Members/fdrake/zpkgtools/


  -Fred

--
Fred L. Drake, Jr.fdrake at gmail.com
Don't let schooling interfere with your education. -- Mark Twain


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users