Switch from distutils to setuptools
authorIustin Pop <iusty@k1024.org>
Fri, 27 Jun 2008 06:59:03 +0000 (08:59 +0200)
committerIustin Pop <iusty@k1024.org>
Fri, 27 Jun 2008 06:59:03 +0000 (08:59 +0200)
Setuptools has some nice features (unittest targets and other), so it
makes sense to use it.

setup.py

index b2e05839c38b6dd865abd176b55a2d41152b923d..54096606bab0e1af1f73373d0dd8fe2c9f5ea4d6 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
-import distutils, os
-from distutils.core import setup, Extension
+import os
+from setuptools import setup, Extension
 
 (u_sysname, u_nodename, u_release, u_version, u_machine) = os.uname()