Skip to content

Commit 5c28a2a

Browse files
committed
rework: rename the API into videocode
1 parent 4ff2b8d commit 5c28a2a

File tree

31 files changed

+88
-88
lines changed

31 files changed

+88
-88
lines changed

frontend/VideoCode.py

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

frontend/input/_AllInput.py

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

frontend/transformation/_AllTransformation.py

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

include/python/API.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ namespace python::API
7979
// Current path added to the Import Path
8080
PyRun_SimpleString(
8181
"import sys\n"
82-
"sys.path.append('./frontend')"
82+
"sys.path.append('./videocode')"
8383
);
8484

8585
// Import the Module (file name)

test/eval_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22

33

4-
# from frontend.VideoCode import *
4+
# from videocode.VideoCode import *
55

66
s = r"""
77

video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from frontend.VideoCode import *
1+
from videocode.VideoCode import *
22

33

44
v1 = video("video/v.mp4")
File renamed without changes.

videocode/VideoCode.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env python3
2+
3+
#
4+
# VideoCode
5+
#
6+
7+
# Inputs
8+
from videocode.input._AllInput import *
9+
10+
# Transformations
11+
from videocode.transformation._AllTransformation import *
12+
13+
# Global
14+
from videocode.Global import *
15+
16+
# Constant
17+
from videocode.Constant import *

0 commit comments

Comments
 (0)