old_contents: from distutils.core import setup
  from distutils.extension import Extension
  
  cmdclass = { }
  
  try:
      from Cython.Distutils import build_ext
      cmdclass.update({ 'build_ext': build_ext })
      EXT = ".pyx"
  except:
      EXT = ".c"
  
  NAME = "cypyserialize"
  VERSION = "1.0.3"
  DESCR = "Really easy, really quick, binary parser framework for Python"
  try:
     import pypandoc
     LONG_DESC = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
     LONG_DESC = open('README.md').read()
  
  URL = "https://github.com/wrenoud/cypyserialize"
  DOWNLOAD_URL = "https://github.com/wrenoud/cypyserialize/tarball/" + VERSION
  
  AUTHOR = "Weston Renoud"
  EMAIL = "wrenoud@gmail.com"
  
  LICENSE = "Apache 2.0"
  
  SRC_DIR = NAME
  PACKAGES = [SRC_DIR]
  
  EXTENSIONS = [
      Extension(
          SRC_DIR + ".variant",
          [SRC_DIR + '/variant' + EXT],
          libraries=[]
      ),
      Extension(
          SRC_DIR + ".serializers",
          [SRC_DIR + '/serializers' + EXT],
          libraries=[]
      ),
      Extension(
          SRC_DIR + ".serializable",
          [SRC_DIR + '/serializable' + EXT],
          libraries=[]
      )
  ]
  
  REQUIRES = []
  
  
  setup(
      name=NAME,
      packages=PACKAGES,
      version=VERSION,
      description=DESCR,
      long_description=LONG_DESC,
      author=AUTHOR,
      author_email=EMAIL,
      url=URL,
      download_url=DOWNLOAD_URL,
      keywords=['testing', 'logging', 'example'],  # arbitrary keywords
      classifiers=[],
      license=LICENSE,
      cmdclass=cmdclass,
      ext_modules=EXTENSIONS,
      install_requires=REQUIRES,
  )
  
new_contents: from distutils.core import setup
  from distutils.extension import Extension
  
  cmdclass = { }
  
  try:
      from Cython.Distutils import build_ext
      cmdclass.update({ 'build_ext': build_ext })
      EXT = ".pyx"
  except:
      EXT = ".c"
  
  NAME = "cypyserialize"
  VERSION = "1.0.3"
  DESCR = "Really easy, really quick, binary parser framework for Python"
  try:
     import pypandoc
     LONG_DESC = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
     LONG_DESC = open('README.md').read()
  
  URL = "https://github.com/wrenoud/cypyserialize"
  DOWNLOAD_URL = "https://github.com/wrenoud/cypyserialize/tarball/" + VERSION
  
  AUTHOR = "Weston Renoud"
  EMAIL = "wrenoud@gmail.com"
  
  LICENSE = "Apache 2.0"
  
  SRC_DIR = NAME
  PACKAGES = [SRC_DIR]
  
  EXTENSIONS = [
      Extension(
          SRC_DIR + ".variant",
          [SRC_DIR + '/variant' + EXT],
          include_dirs=['.']
          libraries=[]
      ),
      Extension(
          SRC_DIR + ".serializers",
          [SRC_DIR + '/serializers' + EXT],
          include_dirs=['.']
          libraries=[]
      ),
      Extension(
          SRC_DIR + ".serializable",
          [SRC_DIR + '/serializable' + EXT],
          include_dirs=['.']
          libraries=[]
      )
  ]
  
  REQUIRES = []
  
  
  setup(
      name=NAME,
      packages=PACKAGES,
      version=VERSION,
      description=DESCR,
      long_description=LONG_DESC,
      author=AUTHOR,
      author_email=EMAIL,
      url=URL,
      download_url=DOWNLOAD_URL,
      keywords=['testing', 'logging', 'example'],  # arbitrary keywords
      classifiers=[],
      license=LICENSE,
      cmdclass=cmdclass,
      ext_modules=EXTENSIONS,
      install_requires=REQUIRES,
  )
  
subject: build issue with release