From 5d50dcfa41c9408e6d495dceea248edf76bd52a5 Mon Sep 17 00:00:00 2001 From: Viv Date: Sun, 4 Jun 2023 11:16:39 -0400 Subject: [PATCH] Switch to a `src/` layout --- {tja2fumen => src/tja2fumen}/__init__.py | 0 {tja2fumen => src/tja2fumen}/constants.py | 0 {tja2fumen => src/tja2fumen}/converters.py | 0 {tja2fumen => src/tja2fumen}/main.py | 0 {tja2fumen => src/tja2fumen}/parsers.py | 2 +- {tja2fumen => src/tja2fumen}/utils.py | 0 {tja2fumen => src/tja2fumen}/writers.py | 0 7 files changed, 1 insertion(+), 1 deletion(-) rename {tja2fumen => src/tja2fumen}/__init__.py (100%) rename {tja2fumen => src/tja2fumen}/constants.py (100%) rename {tja2fumen => src/tja2fumen}/converters.py (100%) rename {tja2fumen => src/tja2fumen}/main.py (100%) rename {tja2fumen => src/tja2fumen}/parsers.py (99%) rename {tja2fumen => src/tja2fumen}/utils.py (100%) rename {tja2fumen => src/tja2fumen}/writers.py (100%) diff --git a/tja2fumen/__init__.py b/src/tja2fumen/__init__.py similarity index 100% rename from tja2fumen/__init__.py rename to src/tja2fumen/__init__.py diff --git a/tja2fumen/constants.py b/src/tja2fumen/constants.py similarity index 100% rename from tja2fumen/constants.py rename to src/tja2fumen/constants.py diff --git a/tja2fumen/converters.py b/src/tja2fumen/converters.py similarity index 100% rename from tja2fumen/converters.py rename to src/tja2fumen/converters.py diff --git a/tja2fumen/main.py b/src/tja2fumen/main.py similarity index 100% rename from tja2fumen/main.py rename to src/tja2fumen/main.py diff --git a/tja2fumen/parsers.py b/src/tja2fumen/parsers.py similarity index 99% rename from tja2fumen/parsers.py rename to src/tja2fumen/parsers.py index 49cbb20..f8d84d8 100644 --- a/tja2fumen/parsers.py +++ b/src/tja2fumen/parsers.py @@ -1,7 +1,7 @@ import os import re -from tja2fumen.utils import readStruct, getBool, shortHex, nameValue, debugPrint, checkValidHeader, validateHeaderMetadata +from tja2fumen.utils import readStruct, getBool, shortHex, nameValue, debugPrint, checkValidHeader from tja2fumen.constants import ( # TJA constants HEADER_GLOBAL, HEADER_COURSE, BRANCH_COMMANDS, MEASURE_COMMANDS, COMMAND, NORMALIZE_COURSE, diff --git a/tja2fumen/utils.py b/src/tja2fumen/utils.py similarity index 100% rename from tja2fumen/utils.py rename to src/tja2fumen/utils.py diff --git a/tja2fumen/writers.py b/src/tja2fumen/writers.py similarity index 100% rename from tja2fumen/writers.py rename to src/tja2fumen/writers.py