[Pythonmac-SIG] import problems
zhiyong_peng2003 at yahoo.com
Sat Dec 10 01:27:22 CET 2005
Let me say
Thanks a lot for your email
First, then I will read corresponding document.
Surely it helps a lot.
--- Bob Ippolito <bob at redivi.com> wrote:
> On Dec 9, 2005, at 3:55 PM, Zhi Peng wrote:
> > What was the difference when I try to install
> module say I have
> > module.py on Macintosh?
> > from distutils.core import setup
> > setup(name="MyModule", version="1.0"
> > Is above enough to set up the module? Where are
> "module.py" should
> > be in current dir?
> I don't really understand the question, but the
> documentation is here:
> I would suggest using packages instead of modules,
> and to go ahead
> and use setuptools for anything new. It does a lot
> of things that
> distutils should've always done, and integrates with
> ez_setup, eggs,
> In that case, you'd end up with something like this:
> from setuptools import setup
> setup(name=.., version=...,
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Pythonmac-SIG