Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setuptools instead of distutils when possible #179

Closed
giampaolo opened this issue May 23, 2014 · 3 comments
Closed

Use setuptools instead of distutils when possible #179

giampaolo opened this issue May 23, 2014 · 3 comments

Comments

@giampaolo
Copy link
Owner

From g.rodola on July 06, 2011 14:16:17

In setup.py we use distutils to install psutil:

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: http://code.google.com/p/psutil/issues/detail?id=179

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From g.rodola on July 06, 2011 05:48:32

Fixed in r1082 .

Status: FixedInSVN

@giampaolo
Copy link
Owner Author

From g.rodola on July 08, 2011 12:07:35

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:01:31

Updated csets after the SVN -> Mercurial migration: r1082 == revision 
dc36f282615a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant