long_description in markdown for the new PyPI

pull/204/head
Simon Willison 2018-04-13 09:03:09 -07:00
rodzic d08a133140
commit ad6142b67c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 17E2DEA2588B7F52
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -1,9 +1,18 @@
from setuptools import setup, find_packages
from datasette import __version__
from pathlib import Path
def get_long_description():
with open(Path(__file__).parent / 'README.md', encoding='utf8') as fp:
return fp.read()
setup(
name='datasette',
description='An instant JSON API for your SQLite databases',
long_description=get_long_description(),
long_description_content_type='text/markdown',
author='Simon Willison',
version=__version__,
license='Apache License, Version 2.0',