()
| 1203 | |
| 1204 | |
| 1205 | def readme(): |
| 1206 | path = os.path.dirname(os.path.realpath(__file__)) |
| 1207 | fn = os.path.join(path, "README.rst") |
| 1208 | with open(fn, 'rb') as f: |
| 1209 | h = f.readlines() |
| 1210 | return [i.decode('utf-8') for i in h] |
| 1211 | |
| 1212 | |
| 1213 | def detect_encoding(data=None): |