Skip to content

Commit 0cc6829

Browse files
committed
rename src to libraries, it makes slightly more sense
1 parent 647b5df commit 0cc6829

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_current_version():
5151
BUNDLE_REQ_DIR = os.path.join(BUNDLE_DIR.format(platform="py"), "requirements")
5252
BUNDLE_ZIP_JSON = os.path.join(BUNDLE_DIR.format(platform="py"), f"{BUNDLE_NAME}.json")
5353

54-
SOURCEDIR = "src"
54+
MODULES_DIR = "libraries"
5555
REQUIREMENTS_FILE = "requirements-modules.txt"
5656

5757
# TODO: retrieve the version number from git or something
@@ -131,10 +131,10 @@ def init_directories():
131131
def make_bundle_files():
132132
"""create the .py bundle directory"""
133133
# copy all the layouts and keycodes
134-
shutil.copytree(SOURCEDIR, fmt(BUNDLE_LIB_DIR))
134+
shutil.copytree(MODULES_DIR, fmt(BUNDLE_LIB_DIR))
135135

136136
# list of the modules
137-
all_modules = [mod.replace(".py", "") for mod in os.listdir(SOURCEDIR)]
137+
all_modules = [mod.replace(".py", "") for mod in os.listdir(MODULES_DIR)]
138138

139139
json_data = {}
140140

0 commit comments

Comments
 (0)