mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
long_description in markdown for the new PyPI
This commit is contained in:
parent
d08a133140
commit
ad6142b67c
1 changed files with 9 additions and 0 deletions
9
setup.py
9
setup.py
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue