Import, site packages, my modules, Windows vs. Linux

Ben Finney bignose+hates-spam at benfinney.id.au
Tue Jun 3 21:52:25 EDT 2008


John Ladasky <ladasky 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.

Then, it's a matter of running 'python ./setup.py install' to install
your package on a particular system.

-- 
 \          "I hope if dogs ever take over the world, and they chose a |
  `\    king, they don't just go by size, because I bet there are some |
_o__)                Chihuahuas with some good ideas."  -- Jack Handey |
Ben Finney



More information about the Python-list mailing list