-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jeff Peterson wrote:
> I am trying to get Zope3 page templates installed as a standalone
> package.  I thought this would be easy and maybe I am missing something,
> but, I am having no luck at all.
> 
> I have seen several posts regarding doing this, but none of them seem to
> work any longer.  On used zpkg to get the package and build a tarball,
> but the packaging failed with the data that was given, as files in the
> svn repository were moved.  I looked around the for another method of
> getting them from svn but could not come up with anything.  It looks
> like the files might be there to retrieve but I am unsure how.
> 
> I tried to use the pagetemplate folder from a zope3 install but I cannot
> seem to get python to see it properly.  The app that is looking for them
>  imports them as such:
> 
>   from zope.pagetemplate import pagetemplatefile
> 
> My goal was to install this in the site-packages folder in my python
> install.  If anyone has any input at all it would be appreciated.
> 
> TIA,


Have a look at the source distributions / eggs available at:

  http://download.zope.org/distribution/

Also, a checkout of the following might be instructive:

  svn+ssh://svn.zope.org/zope.pagetemplate/trunk

For instance, this should work if you have setuptools / easyinstall
already in hand for your python::

  $ bin/easy_install -f http://download.zope.org/distribution \
    zope.pagetemplate

That gets all the transitive dependencies, too::

  $ ls lib/python2.4/site-packages/
  easy-install.pth
  pytz-2005r-py2.4.egg
  setuptools-0.6c5-py2.4.egg
  setuptools.pth
  zope.component-3.4dev_r72903-py2.4.egg
  zope.deferredimport-3.3dev_r72527-py2.4.egg
  zope.deprecation-3.3dev_r72532-py2.4.egg
  zope.event-3.3dev_r72545-py2.4.egg
  zope.i18n-3.3dev_r72550-py2.4.egg
  zope.i18nmessageid-3.4dev_r72562-py2.4-linux-i686.egg
  zope.interface-3.4dev_r72681-py2.4-linux-i686.egg
  zope.pagetemplate-3.3dev_r72906-py2.4.egg
  zope.proxy-3.4.0a1-py2.4-linux-i686.egg
  zope.schema-3.3dev_r72571-py2.4.egg
  zope.tal-3.3dev_r72583-py2.4.egg
  zope.tales-3.3dev_r72584-py2.4.egg

And it works::

  $ bin/python
  Python 2.4.3 (#2, Oct  6 2006, 07:52:30)
  [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from zope.pagetemplate.pagetemplatefile import PageTemplateFile
  >>>


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF9sAk+gerLs4ltQ4RAlomAKCpt3VJUKFIfDW3lImSBWla2NwFHwCgwjtd
ceuqPEUUiVkgJ9KgCNc79ZM=
=217i
-----END PGP SIGNATURE-----
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to