old_contents: # Copyright 2013 Novo Nordisk Foundation Center for Biosustainability,
  # Technical University of Denmark.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  from setuptools import setup, find_packages
  from optlang import __version__
  
  # from https://coderwall.com/p/qawuyq
  try:
     import pypandoc
     description = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
     description = ''
  
  with open('requirements.txt') as fhandle:
      requirements = [line.strip() for line in fhandle]
  
  setup(
      name='optlang',
      version=__version__,
      packages=find_packages(),
      install_requires=requirements,  # from requirements.txt
      test_suite='nose.collector',
      author='Nikolaus Sonnenschein',
      author_email='niko.sonnenschein@gmail.com',
      description='Formulate optimization problems using sympy expressions and solve them using interfaces to third-party optimization software (e.g. GLPK).',
      license='Apache License Version 2.0',
      url='https://github.com/biosustain/optlang',
      download_url='https://github.com/biosustain/optlang/tarball/v0.0.1',
      long_description=description,
      keywords = ['optimization', 'sympy', 'mathematical programming', 'heuristic optimization'],
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Topic :: Utilities',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'License :: OSI Approved :: Apache Software License',
      ],
  )
  
  
new_contents: # Copyright 2013 Novo Nordisk Foundation Center for Biosustainability,
  # Technical University of Denmark.
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  
  from setuptools import setup, find_packages
  from optlang import __version__
  
  # from https://coderwall.com/p/qawuyq
  try:
     import pypandoc
     description = pypandoc.convert('README.md', 'rst')
  except (IOError, ImportError):
     description = ''
  
  with open('requirements.txt') as fhandle:
      requirements = [line.strip() for line in fhandle]
  
  setup(
      name='optlang',
      version=__version__,
      packages=find_packages(),
      install_requires=requirements,  # from requirements.txt
      test_suite='nose.collector',
      author='Nikolaus Sonnenschein',
      author_email='niko.sonnenschein@gmail.com',
      description='Formulate optimization problems using sympy expressions and solve them using interfaces to third-party optimization software (e.g. GLPK).',
      license='Apache License Version 2.0',
      url='https://github.com/biosustain/optlang',
      download_url='https://github.com/biosustain/optlang/tarball/v0.0.2',
      long_description=description,
      keywords = ['optimization', 'sympy', 'mathematical programming', 'heuristic optimization'],
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Topic :: Utilities',
          'Programming Language :: Python :: 2.5',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'License :: OSI Approved :: Apache Software License',
      ],
  )
  
  
subject: Fix download_url.