]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
setup.py: use setuptools instead of distutils
authorArthur Gautier <baloo@gandi.net>
Tue, 29 Mar 2016 18:03:43 +0000 (18:03 +0000)
committerArthur Gautier <baloo@gandi.net>
Wed, 30 Mar 2016 23:28:52 +0000 (23:28 +0000)
Signed-off-by: Arthur Gautier <baloo@gandi.net>
setup.py
tests/__init__.py [new file with mode: 0644]

index c9d074c9f00e13cb8a6e95a8625f522b4efabb77..d9a5f96f54be86cb129f1ba3d5a5efe32f41a980 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -16,7 +16,7 @@
 # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 import sys
-from distutils.core import setup
+from setuptools import setup
 
 version = '1.12.0'
 
@@ -51,6 +51,7 @@ direct manipulation of DNS zones, messages, names, and records.""",
         "Topic :: Internet :: Name Service (DNS)",
         "Topic :: Software Development :: Libraries :: Python Modules",
         ],
+    'test_suite': 'tests',
     }
 
 if sys.hexversion >= 0x02050000:
diff --git a/tests/__init__.py b/tests/__init__.py
new file mode 100644 (file)
index 0000000..e69de29