setup.py 2.05 KB
Newer Older
James Harle's avatar
James Harle committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
from setuptools import setup, find_packages
from codecs import open
from os import path

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
      url = 'https://github.com/jdha/PyNEMO',
      
      #Author details
      author='James Harle, Srikanth Nagella, Shirley Crompton',
      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
                   'Programming Language :: Python :: 2.7'
                   ],
      
      keywords='Oceanography, NEMO',
      
      packages=['pynemo','pynemo.tests','pynemo.gui','pynemo.utils','pynemo.tide','pynemo.reader'],
      
      install_requires=['netCDF4>=1.1.9','scipy','numpy','matplotlib', 'basemap', 'thredds_crawler', 'seawater'],
      
      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
      data_files=[],
      
      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'
                        ],
                    },
      )