We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10f7b25 commit 66b4e4fCopy full SHA for 66b4e4f
1 file changed
init_template.py
@@ -18,6 +18,7 @@
18
PYPROJECT_TARGET = Path("pyproject.toml")
19
README_TARGET = Path("README.md")
20
ALT_FILE_DIR = Path("alt_files")
21
+REQUIREMENTS_DIR = Path("requirements")
22
ORG = "Preocts"
23
REPO = r"python\-src\-template"
24
@@ -77,6 +78,11 @@ def select_project_type() -> None:
77
78
for file in ALT_FILE_DIR.iterdir():
79
file.replace(file.name)
80
81
+ # Remove requirements directory and all contents
82
+ for file in REQUIREMENTS_DIR.iterdir():
83
+ os.remove(file)
84
+ os.rmdir(REQUIREMENTS_DIR)
85
+
86
# Remove alt_files directory and all contents
87
88
os.remove(file)
0 commit comments