datasette/setup.py

50 wiersze
1.4 KiB
Python
Czysty Zwykły widok Historia

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(
2017-11-10 18:38:35 +00:00
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',
url='https://github.com/simonw/datasette',
packages=find_packages(),
2017-11-10 18:38:35 +00:00
package_data={'datasette': ['templates/*.html']},
include_package_data=True,
install_requires=[
'click==6.7',
'click-default-group==1.2',
'Sanic==0.7.0',
'Jinja2==2.10',
'hupper==1.0',
],
entry_points='''
[console_scripts]
2017-11-10 18:38:35 +00:00
datasette=datasette.cli:cli
''',
setup_requires=['pytest-runner'],
tests_require=[
'pytest==3.2.1',
'aiohttp==2.3.2',
'beautifulsoup4==4.6.0',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
'Topic :: Database',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
],
)