Skip to content

Commit e939000

Browse files
committed
Include requirements.txt with "sbase mkdir DIR"
1 parent a00720b commit e939000

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

seleniumbase/console_scripts/sb_mkdir.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ def main():
6565

6666
os.mkdir(dir_name)
6767

68+
data = []
69+
data.append("seleniumbase")
70+
data.append("")
71+
file_path = "%s/%s" % (dir_name, "requirements.txt")
72+
file = codecs.open(file_path, "w+", "utf-8")
73+
file.writelines("\r\n".join(data))
74+
file.close()
75+
6876
data = []
6977
data.append("[pytest]")
7078
data.append("addopts = --capture=no --ignore conftest.py "

0 commit comments

Comments
 (0)