Browse Source

rename module tooncher -> rescriptoon

Fabian Peter Hammerle 4 years ago
parent
commit
5feb9a5f54

+ 1 - 1
Pipfile

@@ -9,7 +9,7 @@ rescriptoon = {editable = true, path = "."}
 [dev-packages]
 black = "==19.10b0"
 pytest = "*"
-# pipenv run pytest --cov=tooncher --cov-report=term-missing
+# pipenv run pytest --cov=rescriptoon --cov-report=term-missing
 pytest-cov = "*"
 
 [requires]

+ 2 - 2
docs/extended-controls/default-mapping.svg

@@ -1636,7 +1636,7 @@
          x="400"
          y="192"
          id="text789"
-         style="font-weight:normal;font-size:18px;font-family:Arial;fill:#2b2828">control tooncher</text>
+         style="font-weight:normal;font-size:18px;font-family:Arial;fill:#2b2828">control rescriptoon</text>
 </g><path
        d="m 248,281 20,0 c 2,0 3,1 3,3 l 0,18 c 0,1 -1,3 -3,3 l -20,0 c -2,0 -3,-2 -3,-3 l 0,-18 c 0,-2 1,-3 3,-3 z"
        id="path799"
@@ -1814,4 +1814,4 @@
          y="192"
          id="text823-5"
          style="font-weight:normal;font-size:18px;font-family:Arial;fill:#2b2828">engine #1</text>
-</g></g></svg>
+</g></g></svg>

+ 0 - 0
tooncher/__init__.py → rescriptoon/__init__.py


+ 3 - 3
tooncher/_cli.py → rescriptoon/_cli.py

@@ -1,6 +1,6 @@
 import argparse
 
-import tooncher.controls
+import rescriptoon.controls
 
 
 def main() -> None:
@@ -15,7 +15,7 @@ def main() -> None:
         "-t",
         metavar="KEYSYM_NAME",
         dest="toggle_keysym_name",
-        default=tooncher.controls.EXTENDED_CONTROLS_DEFAULT_TOGGLE_KEYSYM_NAME,
+        default=rescriptoon.controls.EXTENDED_CONTROLS_DEFAULT_TOGGLE_KEYSYM_NAME,
         help="key to turn extended keyboard controls on / off."
         + " any keysym name may be used"
         + " (see XStringToKeysym & X11/keysymdef.h, "
@@ -29,7 +29,7 @@ def main() -> None:
         help="change window name of engine after launch",
     )
     args = argparser.parse_args()
-    tooncher.controls.ExtendedControls(
+    rescriptoon.controls.ExtendedControls(
         primary_engine_pid=args.engine_pid,
         toggle_keysym_name=args.toggle_keysym_name,
         primary_engine_window_name=args.engine_window_name,

+ 0 - 0
tooncher/actions.py → rescriptoon/actions.py


+ 1 - 1
tooncher/controls.py → rescriptoon/controls.py

@@ -3,7 +3,7 @@ import os
 import select
 import time
 
-from tooncher.actions import *
+from rescriptoon.actions import *
 
 try:
     import psutil

+ 1 - 1
setup.py

@@ -22,7 +22,7 @@ setuptools.setup(
         "Topic :: Games/Entertainment",
         "Topic :: Utilities",
     ],
-    entry_points={"console_scripts": ["rescriptoon = tooncher._cli:main"]},
+    entry_points={"console_scripts": ["rescriptoon = rescriptoon._cli:main"]},
     install_requires=["xlib", "psutil"],
     setup_requires=["setuptools_scm"],
     tests_require=["pytest"],