diff --git a/demo/demo_utils.py b/demo/demo_utils.py index 638825f..9c0536d 100644 --- a/demo/demo_utils.py +++ b/demo/demo_utils.py @@ -1,6 +1,6 @@ -from csdl import init, InitFlags -from csdl.video import Window -from csdl.events import EventType, poll_event, WindowEventType +from photon import init, InitFlags +from photon.video import Window +from photon.events import EventType, poll_event, WindowEventType import time def simple_timed_loop(draw_func): diff --git a/demo/random_rectangles.py b/demo/random_rectangles.py index 6ef6429..fe87aa7 100755 --- a/demo/random_rectangles.py +++ b/demo/random_rectangles.py @@ -1,6 +1,6 @@ #!/usr/bin/env python import random -from csdl.video import Rect +from photon.video import Rect from demo_utils import simple_timed_loop def draw(window): diff --git a/demo/sysinfo.py b/demo/sysinfo.py index 265313c..e3e1d25 100644 --- a/demo/sysinfo.py +++ b/demo/sysinfo.py @@ -1,5 +1,5 @@ from __future__ import print_function -from csdl import sysinfo +from photon import sysinfo def main(): print('Platform:', sysinfo.get_platform()) diff --git a/csdl/__init__.py b/photon/__init__.py similarity index 100% rename from csdl/__init__.py rename to photon/__init__.py diff --git a/csdl/enum.py b/photon/enum.py similarity index 100% rename from csdl/enum.py rename to photon/enum.py diff --git a/csdl/events.py b/photon/events.py similarity index 100% rename from csdl/events.py rename to photon/events.py diff --git a/csdl/internal.py b/photon/internal.py similarity index 100% rename from csdl/internal.py rename to photon/internal.py diff --git a/csdl/sysinfo.py b/photon/sysinfo.py similarity index 100% rename from csdl/sysinfo.py rename to photon/sysinfo.py diff --git a/csdl/tests/__init__.py b/photon/tests/__init__.py similarity index 100% rename from csdl/tests/__init__.py rename to photon/tests/__init__.py diff --git a/csdl/tests/test_basics.py b/photon/tests/test_basics.py similarity index 100% rename from csdl/tests/test_basics.py rename to photon/tests/test_basics.py diff --git a/csdl/tests/test_enum.py b/photon/tests/test_enum.py similarity index 100% rename from csdl/tests/test_enum.py rename to photon/tests/test_enum.py diff --git a/csdl/tests/test_events.py b/photon/tests/test_events.py similarity index 100% rename from csdl/tests/test_events.py rename to photon/tests/test_events.py diff --git a/csdl/tests/test_internals.py b/photon/tests/test_internals.py similarity index 100% rename from csdl/tests/test_internals.py rename to photon/tests/test_internals.py diff --git a/csdl/tests/test_sysinfo.py b/photon/tests/test_sysinfo.py similarity index 100% rename from csdl/tests/test_sysinfo.py rename to photon/tests/test_sysinfo.py diff --git a/csdl/tests/test_video.py b/photon/tests/test_video.py similarity index 100% rename from csdl/tests/test_video.py rename to photon/tests/test_video.py diff --git a/csdl/video.py b/photon/video.py similarity index 100% rename from csdl/video.py rename to photon/video.py diff --git a/run_tests.sh b/run_tests.sh index 3f7ba0e..d4dfff7 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1 +1 @@ -nosetests --cover-html --with-coverage --cover-package=csdl --cover-inclusive -v -s +nosetests --cover-html --with-coverage --cover-package=photon --cover-inclusive -v -s