diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000000000000000000000000000000000000..fd2c07d8f54ea5308abf6741bcc1c8ecfe1feed1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +python-tag = py27 \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000000000000000000000000000000000000..bdc2c36a0bd47672c8c49ccd1fe6bbd9d96fbb2c --- /dev/null +++ b/setup.py @@ -0,0 +1,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' + ], + }, + ) +