Skip to content

Commit

Permalink
Prefix the module name with underscore
Browse files Browse the repository at this point in the history
This will reflect the name of the cython extension.
  • Loading branch information
Linkid committed May 23, 2020
1 parent 5f7ce14 commit 4768878
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def combine_info(*args):

# extension
ext = Extension(
name='videoplayer.VideoPlayer',
name='videoplayer._VideoPlayer',
sources=ext_sources,
**combine_info(
gl_info,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_videoplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4768878

Please sign in to comment.