Hi Michael and other members of Kamaelia community!

There's an error [1] when installing Kamaelia via setuptools.
Setuptools can't find any global setup.py directly in Kamaelia-0.9.8.0
folder, probably because of the fact that there are actually two
packages (Axon and Kamaelia) in the distribution tar.gz, each having
it's own setup.py in respective folder instead.

I need to distribute my setuptools package that depends on Kamaelia to
multiple machines, so I built a script [3] to split the original
distribution package to separate Axon-1.5.1 and Kamaelia-0.9.8.0
tar.bz packages, which are happily recognized (from custom
distribution directory passed via --find-links to setuptools
easy_install) and automatically installed by setuptools.
Note, that the Axon>=1.5.1 dependency is injected into
Kamaelia-0.9.8.0 setup.py via install_requires keyword argument of
setup() function,
so the other applications can only depend on Kamaelia and be sure to
get Axon correctly installed as well.
Btw, it works both on Windows and Linux, I had not run into any
Windows issue mentioned on wiki [2].

While this works for me now, I'd like to ask if it would be possible
to split the official package in a similar way to be easily
installable with setuptools by anyone.

Of course, Bindings and Apps (the other 2 folders in current
distribution package) would probably need some thinking on how to make
them part of the game consistently, probably one of:
1. have their own packages as well (Kamaelia-Bindings, Kamaelia-Apps?)
   + easy to get for anyone,
   - they are not really an importable package, so why to install them
in site-packages?
2. stay distributed as a separate download not installable by
setuptools
   + makes sense by concept
   - chance that some people will not discover them
3. become part of Kamaelia package
   + easiest to do
   - makes the package bigger (not a real problem, it' that big just
now anyway)
   + as in 1. point: easy to get for anyone
   - as in 1. point: they are not really an importable package, so why
to install them in site-packages? (being under Kamaelia looks imho a
bit better though)

What do you think? Is there a chance for this to happen?

Last but definitelly not least: Thanks for your Axon/Kamaelia work!
It's quick to work with once you read the code to understand how the
things work.
I'll be happy to contribute back if I manage to convince the client
that it's actually good for them having the components as a part of
standard community version.

Regards,
Jan

[1]
$ sudo easy_install -U Kamaelia
Searching for Kamaelia
Reading http://pypi.python.org/simple/Kamaelia/
Reading http://www.kamaelia.org/Home
Reading http://kamaelia.sourceforge.net/Home
Reading 
http://sourceforge.net/project/showfiles.php?group_id=122494&package_id=183774&release_id=451251
Best match: Kamaelia 0.9.8.0
Downloading 
http://www.kamaelia.org/release/MonthlyReleases/Kamaelia-0.9.8.0.tar.gz
Processing Kamaelia-0.9.8.0.tar.gz
error: Couldn't find a setup script in /tmp/easy_install--Ze0Qh/
Kamaelia-0.9.8.0.tar.gz

[2] http://www.kamaelia.org/GetKamaelia
[3] http://gist.github.com/244294

--

You received this message because you are subscribed to the Google Groups 
"kamaelia" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/kamaelia?hl=en.


Reply via email to