From ec28f2de04d678b5791b0c6fe369adaf2b256a53 Mon Sep 17 00:00:00 2001 From: elie Date: Tue, 4 Oct 2011 11:24:24 +0000 Subject: minor py3k compatibility fixes --- setup.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 8c436e5..d0a9b53 100644 --- a/setup.py +++ b/setup.py @@ -2,12 +2,13 @@ import sys def howto_install_setuptools(): - print """Error: You need setuptools Python package! + print(""" + Error: You need setuptools Python package! -It's very easy to install it, just type (as root on Linux): + It's very easy to install it, just type (as root on Linux): wget http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py -""" +""") try: from setuptools import setup @@ -32,10 +33,11 @@ params.update( { 'license': 'BSD', 'packages': [ 'pyasn1', 'pyasn1.type', + 'pyasn1.compat', 'pyasn1.codec', 'pyasn1.codec.ber', 'pyasn1.codec.cer', 'pyasn1.codec.der' ] } ) -apply(setup, (), params) +setup(**params) -- cgit v1.2.1