From 4768878cd62c6dcc2e5bd6658357fa881490a5a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Magimel?= Date: Sat, 23 May 2020 19:34:07 +0200 Subject: [PATCH] Prefix the module name with underscore This will reflect the name of the cython extension. --- setup.py | 2 +- tests/test_videoplayer.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 5704d8c..6e90fd5 100644 --- a/setup.py +++ b/setup.py @@ -114,7 +114,7 @@ def combine_info(*args): # extension ext = Extension( - name='videoplayer.VideoPlayer', + name='videoplayer._VideoPlayer', sources=ext_sources, **combine_info( gl_info, diff --git a/tests/test_videoplayer.py b/tests/test_videoplayer.py index 47a96e7..9ac1b91 100644 --- a/tests/test_videoplayer.py +++ b/tests/test_videoplayer.py @@ -6,8 +6,8 @@ import unittest import urllib -from videoplayer.VideoPlayer import VideoPlayer -from videoplayer.VideoPlayer import VideoPlayerError +from videoplayer._VideoPlayer import VideoPlayer +from videoplayer._VideoPlayer import VideoPlayerError if sys.version_info.major == 3: