Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 245 Bytes
import pandoc
import os
pandoc.core.PANDOC_PATH = "pandoc"
doc = pandoc.Document()
doc.markdown = open('README.md','r').read()
f = open('README.txt','w+')
f.write(doc.rst)
f.close()
os.system("python setup.py register")
os.remove('README.txt')