refactor: clean up .gitignore, remove unused scripts
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
|
||||
# add_parent.py
|
||||
#
|
||||
# This file is part of the repo "optical-regeneration"
|
||||
# https://git.suuppl.dev/seppl/optical-regeneration.git
|
||||
#
|
||||
# (c) Joseph Hopfmüller, 2024
|
||||
# Licensed under the EUPL
|
||||
#
|
||||
# Full license text in LICENSE file
|
||||
|
||||
###
|
||||
|
||||
# copy this file into the directory where you want to use pypho
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
__log = []
|
||||
|
||||
# add the dir above the one where this file lives
|
||||
__parent_dir = Path(__file__).parent
|
||||
sys.path.append(str(__parent_dir.parent))
|
||||
__log.append(f"Added '{__parent_dir.parent}' to 'PATH'")
|
||||
|
||||
|
||||
def show_log():
|
||||
for entry in __log:
|
||||
print(entry)
|
||||
Reference in New Issue
Block a user