from setuptools import setup

version = '2.1.0'

setup(name='PyFVCOM',
      packages=['PyFVCOM'],
      version=version,
      description=("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
      author='Pierre Cazenave',
      author_email='pica@pml.ac.uk',
      url='https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/PyFVCOM',
      download_url='http://gitlab.em.pml.ac.uk/fvcom/PyFVCOM/repository/archive.tar.gz?ref={}'.format(version),
      keywords=['fvcom', 'unstructured grid', 'mesh'],
      license='MIT',
      platforms='any',
      install_requires=['jdcal', 'lxml', 'matplotlib', 'netCDF4', 'networkx', 'numpy>=1.13.0', 'pandas', 'pyproj', 'pytz', 'scipy', 'pyshp', 'UTide', 'shapely'],
      classifiers=[])


from setuptools import setup

setup(
    name='PyFVCOM',
    packages=['PyFVCOM'],
    version='2.1.0',
    description=("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
    author='Pierre Cazenave',
    author_email='pica@pml.ac.uk',
    url='https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/PyFVCOM',
    download_url='http://gitlab.em.pml.ac.uk/fvcom/PyFVCOM/repository/archive.tar.gz?ref=2.1.0',
    keywords=['fvcom', 'unstructured grid', 'mesh'],
    license='MIT',
    platforms='any',
    install_requires=['jdcal', 'lxml', 'matplotlib', 'netCDF4', 'networkx', 'numpy>=1.13.0', 'pandas', 'pyproj', 'pytz', 'scipy', 'pyshp', 'UTide', 'shapely'],
    classifiers=[]
)


--- 
+++ 
@@ -1,18 +1,18 @@
 from setuptools import setup
 
-setup(
-    name='PyFVCOM',
-    packages=['PyFVCOM'],
-    version='2.1.0',
-    description=("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
-    author='Pierre Cazenave',
-    author_email='pica@pml.ac.uk',
-    url='https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/PyFVCOM',
-    download_url='http://gitlab.em.pml.ac.uk/fvcom/PyFVCOM/repository/archive.tar.gz?ref=2.1.0',
-    keywords=['fvcom', 'unstructured grid', 'mesh'],
-    license='MIT',
-    platforms='any',
-    install_requires=['jdcal', 'lxml', 'matplotlib', 'netCDF4', 'networkx', 'numpy>=1.13.0', 'pandas', 'pyproj', 'pytz', 'scipy', 'pyshp', 'UTide', 'shapely'],
-    classifiers=[]
-)
+version = '2.1.0'
 
+setup(name='PyFVCOM',
+      packages=['PyFVCOM'],
+      version=version,
+      description=("PyFVCOM is a collection of various tools and utilities which can be used to extract, analyse and plot input and output files from FVCOM."),
+      author='Pierre Cazenave',
+      author_email='pica@pml.ac.uk',
+      url='https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/PyFVCOM',
+      download_url='http://gitlab.em.pml.ac.uk/fvcom/PyFVCOM/repository/archive.tar.gz?ref={}'.format(version),
+      keywords=['fvcom', 'unstructured grid', 'mesh'],
+      license='MIT',
+      platforms='any',
+      install_requires=['jdcal', 'lxml', 'matplotlib', 'netCDF4', 'networkx', 'numpy>=1.13.0', 'pandas', 'pyproj', 'pytz', 'scipy', 'pyshp', 'UTide', 'shapely'],
+      classifiers=[])
+
Fix formatting and define the version up front.
