Skip to content

Commit

Permalink
gh
Browse files Browse the repository at this point in the history
  • Loading branch information
krypton-byte committed Oct 22, 2021
1 parent 4b455e6 commit 1c5ae19
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions resetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
args=arg.parse_args()
if args.version:
new=open('setup.py').read().replace('0.1.6',re.search(r'\/?([0-9][0-9A-Za-z\.]+)',args.version).group(1))
print(new)
# with open('setup.py','w') as fil:
# print(new)
# fil.write(new)
with open('setup.py','w') as fil:
print(new)
fil.write(new)

0 comments on commit 1c5ae19

Please sign in to comment.