-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
53 lines (47 loc) · 1.76 KB
/
setup.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
try:
from setuptools import setup
from setuptools.command.sdist import sdist
except ImportError:
from distutils.core import setup
from distutils.command.sdist import sdist
try: # Python 3
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError: # Python 2
from distutils.command.build_py import build_py
classifiers = """\
Development Status :: Beta
Environment :: Console
Intended Audience :: Science/Research
Intended Audience :: Developers
Intended Audience :: Education
License :: Public License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Education
Topic :: Software Development :: Libraries :: Python Modules
"""
config = dict(name='romslab',
version='0.2',
packages=[''],
license=open('LICENSE.txt').read(),
description='Module for oceanographic data analysis',
long_description=open('README.txt').read(),
author='Rafael Soutelino',
author_email='[email protected]',
maintainer='Rafael Soutelino',
maintainer_email='[email protected]',
url='https://github.com/rsoutelino/romslab/',
download_url='https://github.com/rsoutelino/romslab/',
classifiers=filter(None, classifiers.split("\n")),
platforms='any',
cmdclass={'build_py': build_py},
# NOTE: python setup.py sdist --dev
#cmdclass={'sdist': sdist_hg},
keywords=['oceanography', 'ocean modeling', 'roms'],
install_requires=['numpy', 'scipy', 'matplotlib', 'netCDF4', 'seawater']
)
setup(**config)