from distutils.core import setup

__sdesc = 'Python PAM for py3/py2'
__ldesc = '''Pluggable Authentication Modules (PAM) pure python module
using ctypes that supports python3 (and python2)'''

setup(name='pam',
      description= __sdesc,
      long_description=__ldesc,
      py_modules=['pam'],
      version='1.8'
      author='David Ford',
      author_email='david@blue-labs.org',
      maintainer='David Ford',
      maintainer_email='david@blue-labs.org',
      original_author='Chris AtLee',
      original_author_email='chris@atlee.ca',
      url='https://github.com/FirefighterBlu3/python-pam',
      license='LICENSE',
      classifiers=[
          'Development Status :: 6 - Mature',
          'Environment :: Console',
          'Environment :: No Input/Output (Daemon)',
          'Environment :: OpenStack',
          'Environment :: Other Environment',
          'Environment :: Plugins',
          'Intended Audience :: Developers',
          'Intended Audience :: Information Technology',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: MIT License',
          'Operating System :: POSIX',
          'Programming Language :: Python',
          'Topic :: System :: Systems Administration :: Authentication/Directory',
          ],
      platforms=['Linux','FreeBSD'],
      )

@@ -1,194 +1,166 @@
-from distutils.core import setup%0A%0A__sdesc = 'Python PAM for py3/py2'%0A__ldesc = '''Pluggable Authentication Modules (PAM) pure python module%0Ausing ctypes that supports python3 (and python2)''
+import os%0Afrom setuptools import setup%0A%0Adef read(fname):%0A    return open(os.path.join(os.path.dirname(__file__), fname)).read()%0A%0A__sdesc = 'Python PAM for py3/py2
 '%0A%0As
@@ -170,16 +170,23 @@
 p(name='
+python-
 pam',%0A  
@@ -238,15 +238,25 @@
 ion=
-__ldesc
+read('README.md')
 ,%0A  
@@ -298,16 +298,17 @@
 on='1.8'
+,
 %0A      a
@@ -450,91 +450,8 @@
 g',%0A
-      original_author='Chris AtLee',%0A      original_author_email='chris@atlee.ca',%0A
     

change package name for pypi