Increment version

This commit is contained in:
taizan-hokuto
2019-12-30 18:32:17 +09:00
parent 5268961854
commit f24c5f9e30
3 changed files with 14 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
from setuptools import setup, find_packages, Command
from codecs import open
from os import path, system
#from codecs import open as open_c
from os import path, system, remove, rename
import re
package_name = "pytchat"
@@ -28,6 +28,16 @@ assert author
assert author_email
assert url
with open('README.MD', 'r', encoding='utf-8') as f:
txt = f.read()
with open('README1.MD', 'w', encoding='utf-8', newline='\n') as f:
f.write(txt)
remove("README.MD")
rename("README1.MD","README.MD")
with open('README.md', encoding='utf-8') as f:
long_description = f.read()