Commit cae2c788 authored by Steffen Vogel's avatar Steffen Vogel 🎅🏼
Browse files

sanatize README

parent 2a97130c
import os
import os, re
from setuptools import setup
def cleanhtml(raw_html):
cleanr = re.compile('<.*?>')
cleantext = re.sub(cleanr, '', raw_html)
return cleantext
def read(fname):
dname = os.path.dirname(__file__)
fname = os.path.join(dname, fname)
import m2r
return m2r.parse_from_file(fname)
except ImportError:
with open(fname) as f:
with open(fname) as f:
contents =
sanatized = cleanhtml(contents)
from m2r import M2R
m2r = M2R()
return m2r(sanatized)
return sanatized
name = "villas-dataprocessing",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment