Skip to content

Commit

Permalink
[ADD] Create requirements on init and create (#51)
Browse files Browse the repository at this point in the history
* [ADD] Create requirements on init and create

* [IMP] chang equal to sup
  • Loading branch information
rootkit7628 authored Aug 29, 2022
1 parent ec865f7 commit 296c2f1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ampalibe/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ def init_proj(path):
file=open(f"{path}/.gitignore", "a"),
)

print(
"ampalibe>={version}".format(version=__version__),
file=open(f"{path}/requirements.txt", "a"),
)


if sys.argv[0] == "-m" and len(sys.argv) > 1:
if sys.argv[1] == "version":
Expand Down

0 comments on commit 296c2f1

Please sign in to comment.