diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/third_party/pyjson5/src/setup.py | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/pyjson5/src/setup.py')
-rw-r--r-- | chromium/third_party/pyjson5/src/setup.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/chromium/third_party/pyjson5/src/setup.py b/chromium/third_party/pyjson5/src/setup.py index d0e23fcc4a5..f63e66c113d 100644 --- a/chromium/third_party/pyjson5/src/setup.py +++ b/chromium/third_party/pyjson5/src/setup.py @@ -23,15 +23,13 @@ if here not in sys.path: import json5 -with open(os.path.join(here, 'README.rst')) as fp: - readme = fp.read().strip() +with open(os.path.join(here, 'README.md')) as fp: + long_description = fp.read() -readme_lines = readme.splitlines() setup( name='json5', - packages=find_packages(), - package_data={'': ['../README.rst']}, + packages=find_packages(exclude=['tests']), entry_points={ 'console_scripts': [ 'pyjson5=json5.tool:main', @@ -39,11 +37,17 @@ setup( }, install_requires=[ ], + extras_require={ + 'dev': [ + 'hypothesis' + ] + }, version=json5.VERSION, author='Dirk Pranke', author_email='dpranke@chromium.org', - description=readme_lines[3], - long_description=('\n' + '\n'.join(readme_lines)), + description=long_description.splitlines()[2], + long_description=long_description, + long_description_content_type='text/markdown', url='https://github.com/dpranke/pyjson5', license='Apache', classifiers=[ |