setup.py 2.16 KB
Newer Older
James Harle's avatar
James Harle committed
1 2
from setuptools import setup, find_packages
from codecs import open
3
from os import path, environ
James Harle's avatar
James Harle committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

here = path.abspath(path.dirname(__file__))

with open(path.join(here, 'DESCRIPTION.rst'),encoding='utf-8') as f:
    long_description = f.read()
    
setup(
      name = 'pynemo',
      
      version='0.1.0',
      
      description = 'NEMO Regional Configuration Toolbox',
      long_description = long_description,
      
      #The project's main homepage
19
      url = 'https://github.com/NOC-MSM/PyNEMO',
James Harle's avatar
James Harle committed
20 21
      
      #Author details
22
      author='James Harle, John Kazimierz Farey, Srikanth Nagella, Shirley Crompton, Tom Prime',
James Harle's avatar
James Harle committed
23 24 25 26 27 28 29 30 31 32 33 34 35
      author_email='jdha@noc.ac.uk',
      
      #Choose your license
      license='GPL',
      
      classifiers=[
                   'Development Status :: 3 - Alpha',
                   
                   'Intended Audience :: Developers',
                   'Topic :: Oceonography Modelling',
                   'License :: OSI Approved :: GPL License',
                   
                   #Specify the python versions supported
36
                   'Programming Language :: Python :: 3.7'
James Harle's avatar
James Harle committed
37 38 39 40 41 42
                   ],
      
      keywords='Oceanography, NEMO',
      
      packages=['pynemo','pynemo.tests','pynemo.gui','pynemo.utils','pynemo.tide','pynemo.reader'],
      
43
      install_requires=['netCDF4','scipy','numpy','matplotlib', 'basemap', 'thredds_crawler', 'seawater'],
James Harle's avatar
James Harle committed
44 45 46 47 48 49 50
      
      include_package_data=True,
      #The data files that needs to be included in packaging
      package_data={'': ['gui/*.png','gui/*.ncml','*.info','reader/jars/*.jar'],
                    
                    },
      #If files are needs outside the installed packages
51
      data_files=[(path.join(environ['CONDA_PREFIX'], 'share/proj/epsg'), ['pynemo/share/epsg'])],
James Harle's avatar
James Harle committed
52 53 54 55 56 57 58 59 60 61
      
      entry_points={
                    'console_scripts':[
                        'pynemo=pynemo.pynemo_exe:main',
                        'pynemo_settings_editor=pynemo.pynemo_settings_editor:main',
                        'pynemo_ncml_generator=pynemo.pynemo_ncml_generator:main'
                        ],
                    },
      )