Re: [Zope3-Users] buildout recipe for ReportLab

2008-07-11 Thread Christian Theune
On Thu, 2008-07-10 at 21:21 +0200, Lorenzo Gil Sánchez wrote:
 Hi,
 
 I'd like to ask if anybody is using a buildout recipe to install
 ReportLab in the buildout.

I only declare 'ReportLab' as a dependency. Whats the issue?

Christian

-- 
Christian Theune · [EMAIL PROTECTED]
gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development



signature.asc
Description: This is a digitally signed message part
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] Set List constraints

2008-07-11 Thread Tim Cook

I appreciate the list members time and patience.  I used Zope heavily
2000-2003 but after not writing any code for almost five years this is
like starting over. :-)

On Fri, 2008-07-11 at 06:48 +0200, Markus Kemmerling wrote:
 You want to restrict the elements of a list to instances that provide  
 a given interface IMyClass, right? That's exactly what a field's  
 value_type attribute is for: 

Thanks.  I missed that in the docs about collections.

 
 is meant to be used in class definitions to declare that a class  
 itself -- not is instances -- provides a given interface.
 

I use that and I guess that's why I thought it might do double duty.

 I am not sure if I get this. If you set an instance of a mutable type  
 like a list as an attribute of some other instance described by a  
 schema, it will be validated, but still remain mutable (finally your  
 other object only holds a reference to your mutable). It doesn't  
 matter if it is persistent or not, or if it was copied before. But I  
 might misunderstand your intention here.

As usual a bit of context will help if you'll bear with me.

I am implementing a set of healthcare application specifications
designed (over almost 2 decades) to maintain semantic context of
information across applications and to be implementable in any OO
language. There are implementations in Eiffel,Java and .Net. 
 http://www.openehr.org This will reduce the number healthcare data
silos since any application in any language can exchange information.

The reference model describes broad concepts such as
observation,instruction,action,etc along with the required data types
and data structures to support them.

The 'instances', referred to above, are created as constraints on the
reference model in order to define a maximal dataset for ONE clinical
concept, i.e. blood pressure. These definitions are parsed from a
special purpose language (see attachment) designed to describe the
entire semantics of that concept.  Since (with my code) parsing one of
these and creating the in-memory object takes  about .1 - .2 secs. and
since an application may use as many as 20 on a screen it is out of the
question to do it on-the-fly.  

My solution then is to pre-store these in a repository in the ZODB as a
kind of template.  An application can then reuse these by making a
copy. 

My priorities are:

1. To demonstrate implement-ability in Python.   

2. Have a platform that can be used to demonstrate and teach the
reference model and archetypes in use to a broad audience; physicians,
health care researchers, computer science and medical students, etc.

3. Build an interested open source community where 'real' developers can
fine tune my code and create wonderful interoperable healthcare
applications using the reference model in their chosen language.


So, yes I am recruiting developers to what I believe is a good cause
project. In the interim I will keep plugging away at.  :-)


Thanks,
Tim





-- 
**
Join the OSHIP project.  It is the standards based, open source
healthcare application platform in Python.
Home page: https://launchpad.net/oship/ 
Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page 
**


openEHR-EHR-OBSERVATION.blood_pressure.v1.adl
Description: application/extension-adl


signature.asc
Description: This is a digitally signed message part
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


Re: [Zope3-Users] buildout recipe for ReportLab

2008-07-11 Thread Lorenzo Gil Sanchez
El vie, 11-07-2008 a las 10:35 +0200, Christian Theune escribió:
 On Thu, 2008-07-10 at 21:21 +0200, Lorenzo Gil Sánchez wrote:
  Hi,
  
  I'd like to ask if anybody is using a buildout recipe to install
  ReportLab in the buildout.
 
 I only declare 'ReportLab' as a dependency. Whats the issue?

There is no egg for ReportLab so just adding it as a dependency can't
make setuptools/easy_install to download and install it:

(z3env)[EMAIL PROTECTED] z3env]$ easy_install reportlab
Searching for reportlab
Reading http://pypi.python.org/simple/reportlab/
Reading http://www.reportlab.com/
Reading http://www.reportlab.org/downloads.html
No local packages or download links found for reportlab
error: Could not find suitable distribution for
Requirement.parse('reportlab')

So, what recipe can download the ReportLab tarball and install it?

I feel like I'm missing something...

Lorenzo

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


Re: [Zope3-Users] buildout recipe for ReportLab

2008-07-11 Thread Marius Gedminas
On Thu, Jul 10, 2008 at 09:21:57PM +0200, Lorenzo Gil Sánchez wrote:
 I'd like to ask if anybody is using a buildout recipe to install
 ReportLab in the buildout.

I believe SchoolTool does.  Browsing around in
http://bazaar.launchpad.net/~ignas/schooltool/schooltool_buildout/files
I see that they declare 'ReportLab' as an egg dependency and then mirror
ReportLab-2.1.tgz in their HTTP/FTP site.

Marius Gedminas
-- 
[...] the basic your gun, your foot, your choice memory model.
-- jtv on lkml


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