Tim Cook wrote:
> Hi Peter,
>
> Thanks for the effort.
> There must be a different way for me to set this up in buildout.  I'll
> ask on other lists.
>
> Now by putting 'PyXB' in the install requires section of setup.py and
> specifying PyXB = full-1.1.0 in my versions.cfg  It finds the package
> and downloads it but exits with this traceback.
> =================================================
> Getting distribution for 'PyXB==full-1.1.0'.
> /tmp/easy_install-qjcXLt/PyXB-1.1.0/pyxb/utils/utility.py:582:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
>   import sha
> Found bundle in /tmp/easy_install-qjcXLt/PyXB-1.1.0/pyxb/bundles/opengis
> Found bundle in /tmp/easy_install-qjcXLt/PyXB-1.1.0/pyxb/bundles/wssplat
> Found bundle in /tmp/easy_install-qjcXLt/PyXB-1.1.0/pyxb/bundles/common
> error: Setup script exited with error: package directory
> 'tmp/easy_install-qjcXLt/PyXB-1/1/0/pyxb/bundles/opengis' does not exist
> An error occured when trying to install PyXB full-1.1.0.Look above this
> message for any errors thatwere output by easy_install.
> ====================================================================
> Of course downloading the file shows that the directory bundles/opengis
> does exist. 
>
> I'll let you know when/if I discover the answer.
>
> Cheers,
> Tim
Two things:

Based on this, I went ahead and put the base release back up on PyPI.  
Try using "PyXB==base-1.1.0" instead.  There are no bundles in that, so 
you might avoid the problem there.

Second, what operating system are you using?  The path element 
PyXB-1.1.0 was rewritten as PyXB-1/1/0 in the error message.  All my 
development/testing has been on Linux.  If you're using Windows, I may 
need to enhance the setup script to cope with differences in file name 
support.

Peter


------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
pyxb-users mailing list
pyxb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyxb-users

Reply via email to