summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2018-04-12 12:58:08 +0300
committerYuval Adam <_@yuv.al>2018-04-12 12:58:08 +0300
commit6ba4fc44e5301b302fab7e8e8632d6ab8e8acfb7 (patch)
treed3409d00b3e160509c6e0dcbbff438a1fb0236d9
parent848427d8e8d8c469312f46321e75c2fe48c284f4 (diff)
Attempt to fix HTML escaping on PyPIv0.4.2
-rw-r--r--setup.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 2a50285..a1f7cf9 100644
--- a/setup.py
+++ b/setup.py
@@ -1,15 +1,16 @@
+from html import escape
from pathlib import Path
-
from setuptools import setup, find_packages
with open(str(Path(__file__).resolve().parents[0] / 'README.rst'), encoding='utf-8') as f:
- long_description = f.read()
+ # HTML escape to ensure rendering on PyPI
+ long_description = escape(f.read())
setup(
name='viewstate',
author='Yuval Adam',
author_email='_@yuv.al',
- version='0.4.1',
+ version='0.4.2',
description='.NET viewstate decoder',
long_description=long_description,
url='https://github.com/yuvadm/viewstate',