Re: [Zope3-Users] Re: how to eggify a zopeproject?

2008-01-25 Thread Christophe Combelles

Nando Quintana a écrit :

Raphael,


Either include a MANIFEST file or make the egg from a subversion/cvs
checkout. The former tells explicitly what to include the latter
implicitly (everything that's under version control basically).


This means calling zopeproject with --svn-repository ...?


this option is just a shortcut that creates a new project in the specified 
repository. You don't need to pass any option, but just to work in a svn 
checkout. Any file added via svn will be automatically part of the distribution.


Christophe


Ok, I'll try it.


I'd suggest to look at buildout if you want to support
such things as well.


So, buildout is the correct approach to deploy an egg as a zope app?
Ok.

thanks,
Nando.





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


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


Re: [Zope3-Users] Re: how to eggify a zopeproject?

2008-01-25 Thread Jim Fulton

A passing comment:

- Eggs are great for distributing libraries.

- They aren't ideal for distributing applications, which are often  
composed of many libraries, in the form is eggs.


zc.buildout is a tool for assembling libraries and other parts to  
create working applications. (Of course, it is not the only tool.)


The zc.sourcerelease package provides a simple script that leverages  
buildout to help create self-contained source releases from working  
buildouts.  This is the tool that I use to distribute applications.


Jim


On Jan 25, 2008, at 11:25 AM, Nando Quintana wrote:


Raphael,


Either include a MANIFEST file or make the egg from a subversion/cvs
checkout. The former tells explicitly what to include the latter
implicitly (everything that's under version control basically).


This means calling zopeproject with --svn-repository ...?
Ok, I'll try it.


I'd suggest to look at buildout if you want to support
such things as well.


So, buildout is the correct approach to deploy an egg as a zope app?
Ok.

thanks,
Nando.

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


--
Jim Fulton
Zope Corporation


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


Re: [Zope3-Users] Re: how to eggify a zopeproject?

2008-01-25 Thread Nando Quintana
Raphael,

 Either include a MANIFEST file or make the egg from a subversion/cvs
 checkout. The former tells explicitly what to include the latter
 implicitly (everything that's under version control basically).

This means calling zopeproject with --svn-repository ...?
Ok, I'll try it.

 I'd suggest to look at buildout if you want to support
 such things as well.

So, buildout is the correct approach to deploy an egg as a zope app?
Ok.

thanks,
Nando.

-- 
http://www.nandoquintana.com/contact


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] Re: how to eggify a zopeproject?

2008-01-25 Thread Raphael Ritz

Nando Quintana wrote:




[..]


Then I've tried to eggify this zope project:

# cd MyProjec
# python setup.py sdist


The problem is that this action doesn't include the zcml files:



Either include a MANIFEST file or make the egg from a subversion/cvs
checkout. The former tells explicitly what to include the latter
implicitly (everything that's under version control basically).
This is documented on PEAK's setup tools site.

[..]


Then, if a user installs this egg, gets start script myproject-ctl
installed. Which is the list of thing he need to install?
create a zope instance? write a custom zdaemon.comf, deploy.ini,
zope.conf, site.zml?



I'd suggest to look at buildout if you want to support
such things as well.


Some general instructions would be very appreciated...



HTH

Raphael



Thanks in advance,
Nando.





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


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


[Zope3-Users] how to eggify a zopeproject?

2008-01-25 Thread Nando Quintana
Hi all,

I have some questions about zopeproject... I've created a project with
zopeproject:
# easy_install -U setuptools
...
setuptools 0.6c7 is already the active version in easy-install.pth
...
# easy_install -U zopeproject
...
zopeproject 0.4.1 is already the active version in easy-install.pth
...
# zopeproject MyProjec



Then I've tried to eggify this zope project:

# cd MyProjec
# python setup.py sdist


The problem is that this action doesn't include the zcml files:

# tar --list -f dist/MyProject-0.1.tar.gz
MyProject-0.1/
MyProject-0.1/src/
MyProject-0.1/src/MyProject.egg-info/
MyProject-0.1/src/MyProject.egg-info/PKG-INFO
MyProject-0.1/src/MyProject.egg-info/SOURCES.txt
MyProject-0.1/src/MyProject.egg-info/dependency_links.txt
MyProject-0.1/src/MyProject.egg-info/entry_points.txt
MyProject-0.1/src/MyProject.egg-info/not-zip-safe
MyProject-0.1/src/MyProject.egg-info/paster_plugins.txt
MyProject-0.1/src/MyProject.egg-info/requires.txt
MyProject-0.1/src/MyProject.egg-info/top_level.txt
MyProject-0.1/src/myproject/
MyProject-0.1/src/myproject/__init__.py
MyProject-0.1/src/myproject/startup.py
MyProject-0.1/src/myproject/testing.py
MyProject-0.1/setup.py
MyProject-0.1/PKG-INFO
MyProject-0.1/setup.cfg



How should I modify the setup.py? Is there any doc about how to
distribute a lib created with zopeproject?

Then, if a user installs this egg, gets start script myproject-ctl
installed. Which is the list of thing he need to install?
create a zope instance? write a custom zdaemon.comf, deploy.ini,
zope.conf, site.zml?

Some general instructions would be very appreciated...

Thanks in advance,
Nando.

-- 
http://www.nandoquintana.com/contact


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] how work around broken egg?

2008-01-25 Thread John
I easy_installed a broken z3c.form-1.7.2-py2.4.egg into my zopeproject.  
I'd like to fix it.  It looks possible to use svn to checkout 1.7.0 or 
1.8.0 right into the egg directory.  Will this work or is there some 
setup script to run?  Is there a way to get 1.7.2 via svn (_1)?  Is 
there a better way than using svn?  Any suggestions appreciated.


Also, when the eggs are fixed, will another bin/easy_install z3c.form 
be sufficient to get the missing files?  Right now it tells me z3c.form 
1.7.2 is already the active version.  Will I need to remove the egg 
somehow and re-install it to get the complete files?


Details:
(_1) There is no 1.7.2 listed at 
http://svn.zope.org/z3c.form/tags/?rev=83190


Thanks,
John

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