Skip to content

Commit f27a7d1

Browse files
committed
Move to poetry.
1 parent 4a81428 commit f27a7d1

File tree

8 files changed

+28
-304
lines changed

8 files changed

+28
-304
lines changed

.travis.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

interpolation/compat.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
else:
1010
overload_options = {}
1111

12-
if LooseVersion(__version__)>='0.49':
13-
from numba.types import Tuple, UniTuple
14-
else:
15-
from numba.types.containers import Tuple, UniTuple
12+
from numba.core.types import Tuple, UniTuple
13+
# if LooseVersion(__version__)>='0.49':
14+
# from numba.core.types import Tuple, UniTuple
15+
# else:
16+
# from numba.core.types.containers import Tuple, UniTuple

interpolation/multilinear/fungen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import ast
66

77
from numba.extending import overload
8-
from numba.types import Array
8+
from numba.core.types import Array
99
from ..compat import overload_options
1010
from ..compat import Tuple, UniTuple
1111

interpolation/multilinear/mlinterp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from typing import Tuple
2525

2626
from ..compat import UniTuple, Tuple
27-
from numba.types import Float, Integer, Array
27+
from numba.core.types import Float, Integer, Array
2828
Scalar = (Float, Integer)
2929

3030
import numpy as np

interpolation/splines/eval_splines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
import numpy as np
7979
from numba import njit
8080
from numba.extending import overload
81-
from numba.types import Array
81+
from numba.core.types import Array
8282

8383
def _eval_linear():
8484
pass

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[tool.poetry]
2+
name = "interpolation"
3+
version = "2.1.3"
4+
description = "Interpolation in Python"
5+
authors = ["Chase Coleman <[email protected]>",
6+
"Spencer Lyon <[email protected]>", "Winant Pablo <[email protected]>"]
7+
license="BSD-2-Clause"
8+
9+
[tool.poetry.dependencies]
10+
python = "^3.6"
11+
numba = "^0.49.0"
12+
numpy = "^1.18.3"
13+
tempita = "^0.5.2"
14+
15+
[tool.poetry.dev-dependencies]
16+
pytest = "^5.2"
17+
18+
[build-system]
19+
requires = ["poetry>=0.12"]
20+
build-backend = "poetry.masonry.api"

scripting.py

Lines changed: 0 additions & 249 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)