Strip out non-mbcs characters; attempting to get appveyor build to run.
Jelmer Vernooij
1 year, 9 months ago
20 | 20 | # MA 02110-1301, USA. |
21 | 21 | |
22 | 22 | from setuptools import find_packages, setup |
23 | import sys | |
23 | 24 | |
24 | 25 | version = "0.0.12" |
25 | 26 | |
26 | 27 | with open('README.rst', encoding='utf-8') as f: |
27 | 28 | long_description = f.read() |
29 | ||
30 | if sys.platform == 'win32': | |
31 | # Strip out non-mbcs characters | |
32 | long_description = long_description.encode('ascii', 'replace').decode() | |
28 | 33 | |
29 | 34 | setup(name="xandikos", |
30 | 35 | description="Lightweight CalDAV/CardDAV server", |