On Jan 12, 5:31 pm, Remy Blank <[email protected]> wrote:
> David A. Riggs wrote:
> > I'm attempting to install (a very slightly-patched) Trac 0.12 SVN
> > branch (r10426) on another machine, and am trying to build a suitable
> > distributable on an OS X 10.6 box. When building with `python setup.py
> > sdist`, the produced tarball does not include Trac's templates.
>
> A quick try here produces a tarball that does include the templates. Are
> you running the "sdist" command from an SVN checkout? Do you have
> setuptools installed? Both are required for the command to find all the
> files that should be part of the distribution package.


I've verified that `sdist` builds a correct source distribution on my
Debian Lenny box, but running the same command on the same SVN
revision generates a faulty source distribution on my Mac. Obviously
the problem is either with MY environment on this Mac or with Trac's
build on Mac. Here's my build environment details:

   Mac OS X 10.6.4
   Python 2.6.1
   setuptools 0.6c9
   Genshi 0.6
   Babel 0.9.5

Here is a log of running `python setup.py sdist` on the Mac:

   http://pastebin.com/EDcEEDh6

Here is a diff of the contents of the Debian-created source dist
versus the Mac-created one; in other words, these files are missing
from the Mac .tar.gz. As you can see, a very large number of files are
missing, and the Mac-created one seems to only include (some?) .py
files:

   http://pastebin.com/MZtAu7gp

I "solved" the problem by building on the Debian box, which was my
deployment environment anyway, but I'd like to know why I can't get
the OS X machine to produce a source distribution - suggestions?
Thanks!

- DR

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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/trac-dev?hl=en.

Reply via email to