Import, site packages, my modules, Windows vs. Linux
John Ladasky
ladasky at my-deja.com
Wed Jun 4 12:03:26 EDT 2008
On Jun 3, 6:52 pm, Ben Finney <bignose+hates-s... at benfinney.id.au>
wrote:
> John Ladasky <lada... at my-deja.com> writes:
> > I want to know what is the *recommended* way to integrate my own
> > personal modules with Python. Thanks!
>
> You want the 'distutils' documentation
> <URL:http://www.python.org/doc/lib/module-distutils> and the documents
> that it references, which will lead you to write a 'setup.py' module
> for your package.
Many thanks, Ben, distutils was exactly what I needed. It was a
little strange to grasp the concept that I would be "distributing" my
module to myself -- but once I got over that mental hurdle, it worked
perfectly.
More information about the Python-list
mailing list