I've always cringed a bit at the install instructions because I felt
there should be a programmatic way to handle dependencies.  I started
cringing even more when I started using virtualenv.

It turns out that setuptools can handle dependencies quite nicely.

A patch to satchmo to handle dependencies is at
http://ftp.linux.org.uk/pub/people/pakrat/Satchmo/setup.diff

I also took some liberties in creating sdists of sorl, sjango-app-
plugins, and TRML2PDF.

With this patch, install boils down to
==========================
If you are running Debian and wish to use their packaging of django
  aptitude install python-django

If you are running Debian and wish to use their packages for trml2pdf,
reportlab, and python imaging, yaml, and crypto
  aptitude install python-trml2pdf python-yaml python-crypto

If you are running Debian and plan to use the extras
  aptitude install python-elementtree # For elementtree
  aptitude install python-docutils # For docutils

If you are running Debian and wish to make use of virtualenv
  aptitude install python-virtualenv
  virtualenv <virtualenv location>
  If you are using the version of virtualenv that ships with Lenny
(1.1-1) now run
    export PYTHONPATH=$(requires.py -p)
  <virtualenv location>/bin/activate

And to install Satchmo
  ./setup.py install
Or
  easy_install . Satchmo
Or if you want all the extras.
  easy_install . 'Satchmo[elementtree,docutils]'

============================

I have opened issues with django-app-plugins and sorl to generate
tarballs and have them on their googlecode project downloads
pages.
trml2pdf has proven to be a bit of a headache because it has become
bin/report/render/rml2pdf on the openobject-server from OpenERP.
For those of you that would prefer to build it themselves, I would
suggest the python-trml2pdf version 1.2 from Debian Testing as it hsa
been patched a bit for unicode.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to