@hvmhvm: Whoa, quite an eye-opener. I had no idea you could install scripts and run in such a manner.
Anyway I managed to actually get these all installed and a conversion success message...Done!
Although the resulting pdf contains only the title of my md file, not the content. Any ideas?
Also, your Workflow was failing on me initially, protesting that xhtml2PDF was looking for PyPDF2 when in fact your dependencies install script installs the older PyPDF 1.1.3. I got it working after changing that portion to:
url = 'https://github.com/mstamy2/PyPDF2/archive/master.zip'
fname='PyPDF2-master'
sname='PyPDF2'
dname='scripts/PyPDF2'
print 'Downloading '+dname+'...'
urllib.urlretrieve(url, fname+'.zip')
print 'Extracting...'
with ZipFile(fname+'.zip', 'r') as z:
z.extractall()
if os.path.isdir(dame):
shutil.rmtree(dname)
shutil.move(fname+'/'+sname, dname)
print 'Cleaning up...'
shutil.rmtree(fname)
os.remove(fname+'.zip')
Cheers.
Jason