From a33f5610f74f83eb4454e4edf2bc9f5899e8d948 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 5 May 2014 22:17:21 +0200 Subject: [PATCH] setup.py: use setuptools --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 39c8733..0bef13a 100755 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ #!/usr/bin/python -from distutils.core import setup, Command +from setuptools import setup +from distutils.cmd import Command from unittest import TextTestRunner, TestLoader import os @@ -29,5 +30,8 @@ setup(name='rfc3161', author='Benjamin Dauvergne', author_email='bdauvergne@entrouvert.com', packages=['rfc3161'], - requires=['pyasn1', 'pyasn1_modules', 'M2Crypto'], + install_requires=[ + 'pyasn1', + 'pyasn1_modules', + 'M2Crypto'], cmdclass={'test': TestCommand})