From 6ba4fc44e5301b302fab7e8e8632d6ab8e8acfb7 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 12 Apr 2018 12:58:08 +0300 Subject: Attempt to fix HTML escaping on PyPI --- setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'setup.py') 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', -- cgit v1.3.1