diff options
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=[ |