Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

distutils examples?

0 views
Skip to first unread message

TomF

unread,
Apr 16, 2010, 3:12:43 PM4/16/10
to
I'm packaging up a program with distutils and I've run into problems
trying to get setup.py right. It's not a standalone package; it's a
script plus modules, data files and documentation. I've been over the
distutils documentation but I'm having trouble getting the package_data
and data_files correct.

Is there a repository of distutils examples somewhere that I can look at?
The documentation is not particularly instructive for me.

Thanks,
-Tom

Philip Semanchuk

unread,
Apr 16, 2010, 3:21:11 PM4/16/10
to python-list (General)

Hi Tom,
I don't know of a dedicated repository of distutils examples, but
there's so many packages out there that it's sure that someone's
already done what you're trying to do. If you can find that package
(easier said than done, I know) then you have a working example.

THat's the main way I've been learning how to write setup.py files. I
also find the distutils documentation somewhat opaque.


HTH
P

0 new messages