Commits

Martin von Löwis committed 8beb747

Run 2to3.

  • Participants
  • Parent commits 3b5ac62

Comments (0)

Files changed (1)

 if is_setuptools:
     extra_args['install_requires'] = ['BeautifulSoup']
 
+try:
+    from distutils.command.build_py import build_py_2to3 as build_py
+except ImportError:
+    from distutils.command.build_py import build_py
+
 setup(name='openid2rp',
       version='1.1.1',
       description='OpenID 2.0 Relying Party Support Library',
       author_email='martin@v.loewis.de',
       long_description=open('README').read(),
       py_modules=['openid2rp'],
+      cmdclass = {'build_py': build_py},
       **extra_args
       )