[Distutils] Distutils2 Documentation...

Erik Bray erik.m.bray at gmail.com
Wed Apr 11 19:19:53 CEST 2012


On Wed, Apr 11, 2012 at 1:44 AM, Rob Healey <robhealey1 at gmail.com> wrote:
> Greetings:

Hi there.

> From this web page,
> http://packages.python.org/Distutils2/distutils/setupscript.html,
>
> #!/usr/bin/env python
>
> from distutils2.core import setup, find_packages
>
> setup(name='Distutils2',
>      version='1.0',
>      summary='Python Distribution Utilities',
>      keywords=['packaging', 'distutils2'],
>      author=u'Tarek Ziadé',
>      author_email='tarek at ziade.org',
>      home_page='http://bitbucket.org/tarek/distutils2/wiki/Home',
>      license='PSF',
>      packages=find_packages())
>
> Can anyone tell me what I need to do to import setup using Distutils2???

You don't need or want (or have the ability) to do that.  there is no
setup() in distutils2.  I would refer you to the last time you asked
this question: http://mail.python.org/pipermail/distutils-sig/2012-March/018408.html
 Eric's answer stands: there is no setup.py.  Make a setup.cfg.  Read
the docs on docs.python.org/dev.

Erik


More information about the Distutils-SIG mailing list