[Distutils] Distutils confusion - please give me a hand

Ben Finney bignose+hates-spam at benfinney.id.au
Tue Jan 1 01:03:31 CET 2008


Donn Ingle <donn.ingle at gmail.com> writes:

> I confess to being absolutely lost here. I have a few
> sub-directories inside my package that contain help stuff and locale
> stuff which I want distutils to include and install. It always
> worked before, until I invented the help/common/en directory and now
> it just won't work any more.

While waiting, use your time constructively with the time-honoured
debugging technique of "make the simplest example that shows the
problem".

In other words, try implementing a tiny project with distutils, and
gradually work toward your problematic one, running distutils commands
each time you make a change, until it produces the same problematic
behaviour. Then, try simplifying it by removing things that don't seem
to be related to the problem, until the problem stops happening.

Repeat until you have the simplest implementation of the problem you
can devise that you can't make simpler without losing the unexpected
behaviour.

Then, post that problem implementation here, with a description that
will no doubt be improved by the above process.

-- 
 \     "Don't be afraid of missing opportunities. Behind every failure |
  `\      is an opportunity somebody wishes they had missed."  -- Jane |
_o__)                                          Wagner, via Lily Tomlin |
Ben Finney



More information about the Distutils-SIG mailing list