[Distutils] Distutils confusion - please give me a hand

Robin Dunn robin at alldunn.com
Tue Jan 1 21:18:57 CET 2008


Donn Ingle wrote:
>> While waiting, use your time constructively with the time-honoured
>> debugging technique of "make the simplest example that shows the
>> problem".
> I'd thought my post was mostly doing that already - not runnable, but not
> vague. 
> 
> Do you mean, given it's contents, that the error I get is an unusual one? If
> so, then I'd have to hack an example. If not, then I'm hoping for some
> quick expert advice for 'housing' directory trees full of data under the
> package or Distribution-root directories.
> 
>  I have spent too many hours trying to get distutils to 'see' my tree and I
> have actually run out of dev-time for my project now.

wxPython has some examples of specifying in-package data files that you 
can probably build upon.  See where DATA_FILES is built up, the 
wx_smart_install_data command class, and the find_data_files function.

http://svn.wxwidgets.org/viewvc/wx/wxPython/branches/WX_2_8_BRANCH/

Look at both setup.py and config.py.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!



More information about the Distutils-SIG mailing list