Skip to content

Commit 2c3ce2b

Browse files
committed
rle -> run_length_encoding
1 parent 405a22d commit 2c3ce2b

File tree

5 files changed

+97
-95
lines changed

5 files changed

+97
-95
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.pytest_cache/
33
build/
44

5+
*.egg-info
56
*.so

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
extra_compile_args=["-O3", "-Wall"],
2525
),
2626
setuptools.Extension(
27-
"rle", ["upolygon/rle" + ext], extra_compile_args=["-O3", "-Wall"]
27+
"run_length_encoding",
28+
["upolygon/run_length_encoding" + ext],
29+
extra_compile_args=["-O3", "-Wall"],
2830
),
2931
]
3032

@@ -35,7 +37,7 @@
3537

3638
setuptools.setup(
3739
name="upolygon",
38-
version="0.1.6",
40+
version="0.1.7",
3941
author="V7",
4042
author_email="simon@v7labs.com",
4143
description="Collection of fast polygon operations for DL",

upolygon/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from draw_polygon import draw_polygon # noqa
22
from find_contours import find_contours # noqa
33
from simplify_polygon import simplify_polygon # noqa
4-
from rle import decode as rle_decode # noqa
5-
from rle import encode as rle_encode # noqa
4+
from run_length_encoding import rle_decode, rle_encode # noqa

0 commit comments

Comments
 (0)