|
|
@ -23,6 +23,7 @@ import subprocess |
|
|
|
from os import getcwd |
|
|
|
import os.path |
|
|
|
assert os.path.exists(os.path.join(getcwd(), __file__)), (getcwd(), __file__) |
|
|
|
import datetime |
|
|
|
|
|
|
|
|
|
|
|
#Readme |
|
|
@ -30,6 +31,7 @@ assert os.path.exists(os.path.join(getcwd(), __file__)), (getcwd(), __file__) |
|
|
|
with open("readme.template", "r") as r: |
|
|
|
template_readme = r.read() |
|
|
|
|
|
|
|
template_readme = template_readme.replace("<date>", datetime.now().isoformat()) |
|
|
|
template_readme = template_readme.replace("<name>", METADATA["name"]) |
|
|
|
template_readme = template_readme.replace("<version>", METADATA["version"]) |
|
|
|
template_readme = template_readme.replace("<shortname>", METADATA["shortName"]) |
|
|
|