> No problem. Do you have a sample script that I can use? I have never
> used Zope before so have no idea how to write a minimal script that
> demonstrates the problem. Thanks!

The most minimal script do demonstrate the problem would be to just  
import both packages, but here is an example slightly more interesting  
(barely):

#setup.py
from zope.interface import Interface, implements
import zope.component

class MyInterface(Interface):
     def say_hi(arg1):
         """documentation for say_hi"""

class X:
     implements(MyInterface)

     def say_hi(self, person):
         print 'hi, ', person

x = X()
x.say_hi('Anthony')



and a setup script for it:


from cx_Freeze import setup, Executable

version = '1.0'
includes=['zope.interface', 'zope.component']
setup(name='hi',
       version=version,
       options = {
         "build_exe" : {
             "includes": includes,
             },
         },
       executables=[Executable('example.py')],
       )

I don't use zope.component (dont' know how).

Thanks,

Craig



On Feb 23, 2010, at 12:40 PM, Anthony Tuininga wrote:

> On Tue, Feb 23, 2010 at 11:31 AM, Craig Swank <[email protected]>  
> wrote:
>> Try installing
>> zope.component and zope.interface (zope.interface-3.3.0.tar.gz (101  
>> K)).  In
>> regards to your comment:
>
> Did that.
>
>> I believe this is a requirement for Python -- in other
>> words you can't have a module name with a "." in it without the stuff
>> in front of the dot being a package.
>>
>> I think these two packages (zope.component and zope.interface)  
>> demonstrate
>> this case.  In my site-packages I have both of these installed  
>> (along with 5
>> other 'zope' namespace packages), but there is not a package called  
>> 'zope'
>> installed.  The main app that I'm trying to build is a web-app  
>> build on
>> repoze.bfg, and once again, there is no package called repoze.   
>> Repoze is a
>> collection of packages.  Forgive me if I'm telling you stuff you  
>> already
>> know.
>
> No problem. Do you have a sample script that I can use? I have never
> used Zope before so have no idea how to write a minimal script that
> demonstrates the problem. Thanks!
>
> Anthony
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> cx-freeze-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to