Skip to content

Commit fd9f19c

Browse files
Helio Almeida (CTW)Helio Almeida (CTW)
authored andcommitted
Fix init
1 parent b2fa21a commit fd9f19c

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

OceanLab/__init.py__

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
from DYN import *
2-
from EOF import *
3-
from OA import *
1+
from .dyn import zeta, vmode_amp, psi2uv, eqmodes, vmodes
2+
from .eof import my_eof_interp, eoft
3+
from .oa import scaloa, vectoa
4+
5+
__version__ = '0.0.7'
File renamed without changes.
File renamed without changes.
File renamed without changes.

setup.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
from setuptools import setup
22

3+
def read(file):
4+
return open(file, 'r').read()
35

4-
with open('README.md','r') as fh:
5-
long_description = fh.read()
6+
LONG_DESCRIPTION = read('README.md')
7+
LICENSE = read('LICENSE.txt')
68

79
setup(
810
name='OceanLab',
9-
version='0.0.5',
10-
packages = ['OceanLab'],
11+
version='0.0.7',
12+
packages=['OceanLab'],
13+
include_package_data=True,
1114
description='Python functions for Physical Oceanography',
12-
long_description=long_description,
15+
long_description=LONG_DESCRIPTION,
1316
long_description_content_type='text/markdown',
17+
download_url = 'https://pypi.python.org/pypi/OceanLab',
1418
url='https://github.com/iuryt/OceanLab',
1519
author='Iury T. Simoes-Sousa',
1620
author_email='[email protected]',
17-
license='MIT',
21+
license=LICENSE,
1822
py_modules=['OA','EOF','DYN'],
19-
package_dir={'': 'src/'},
2023
classifiers=[
2124
"Programming Language :: Python :: 3",
2225
"Programming Language :: Python :: 3.6",
@@ -28,4 +31,4 @@
2831
'seawater ~= 3.3',
2932
'numpy ~= 1.18',
3033
],
31-
)
34+
)

0 commit comments

Comments
 (0)