4udak / pyftpdlib

Automatically exported from code.google.com/p/pyftpdlib
Other
1 stars 1 forks source link

Use setuptools instead of distutils when possible #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In setup.py we use distutils to install pyftpdlib:

from distutils.core import setup

setup(...)

Users having setuptools installed might want to take advange of it.
The first example usage which comes to mind is:

$ python setup.py develop

...which lets the user edit the source checkout and do development without 
having to actually install the package:
http://mail.python.org/pipermail/distutils-sig/2005-July/004692.html

The following change would let users take advange of setuptools remaining 
backward compatible if setuptools is not installed:

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

setup(...)

Original issue reported on code.google.com by g.rodola on 6 Jul 2011 at 11:18

GoogleCodeExporter commented 9 years ago
Fixed in r870.

Original comment by g.rodola on 6 Jul 2011 at 12:19

GoogleCodeExporter commented 9 years ago

Original comment by g.rodola on 3 Jan 2012 at 11:40

GoogleCodeExporter commented 9 years ago
0.7.0 is out. Closing this out as definitively fixed.

Original comment by g.rodola on 25 Jan 2012 at 7:24