from setuptools import setup
from setuptools import find_packages
import versioneer

# README #
def readme():
    with open('README.rst') as f:
        return f.read()

setup(
    name='fair',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description='Python package to perform calculations with the FaIR simple climate model',
    long_description=readme(),
    keywords='simple climate model temperature response carbon cycle emissions forcing',
    url='https://github.com/OMS-NetZero/FAIR',
    author='OMS-NetZero, Chris Smith, Richard Millar, Zebedee Nicholls, Myles Allen',
    author_email='c.j.smith1@leeds.ac.uk',
    license='Apache 2.0',
    packages=find_packages(exclude=['tests*','docs*']),
    package_data={'': ['*.csv']},
    python_requires='>=3.6, <4',
    include_package_data=True,
    install_requires=[
        'matplotlib',
        'numpy>=1.14.5',
        'scipy>=0.19.0',
        'pandas'
    ],
    zip_safe=False,
    extras_require={
        'docs': ['sphinx>=1.4', 'nbsphinx'],
        'dev' : ['notebook', 'wheel', 'twine'],
        'test': ['pytest>=4.0', 'nbval', 'pytest-cov', 'codecov']
    }
)

@@ -162,16 +162,251 @@
 read()%0A%0A
+AUTHORS = %5B%0A    (%22Chris Smith%22, %22c.j.smith1@leeds.ac.uk%22)%0A    (%22Richard Millar%22, %22richard.millar@ouce.ox.ac.uk%22)%0A    (%22Zeb Nicholls%22, %22zebedee.nicholls@climate-energy-college.org%22),%0A    (%22Myles Allen%22, %22myles.allen@ouce.ox.ac.uk%22),%0A%5D%0A%0A
 setup(%0A 
@@ -774,124 +774,115 @@
 hor=
-'OMS-NetZero, Chris Smith, Richard Millar, Zebedee Nicholls, Myles Allen',%0A    author_email='c.j.smith1@leeds.ac.uk'
+%22, %22.join(%5Bauthor%5B0%5D for author in AUTHORS%5D),%0A    author_email=%22, %22.join(%5Bauthor%5B1%5D for author in AUTHORS%5D)
 ,%0A  

change setup