datasette/setup.py
Simon Willison 40a563ebac Reworked metadata building options
Building metadata is now optional. If you want to do it, do this:

    datasette build *.db --metadata=metadata.json

Then when you run the server you can tell it to read from metadata:

    datasette serve *.db --metadata=metadata.json

The Dockerfile generated by datasette publish now uses this mechanism.

Closes #60
2017-11-11 12:11:51 -08:00

25 lines
584 B
Python

from setuptools import setup, find_packages
setup(
name='datasette',
version='0.2',
packages=find_packages(),
package_data={'datasette': ['templates/*.html']},
include_package_data=True,
install_requires=[
'click==6.7',
'click-default-group==1.2',
'sanic==0.6.0',
'sanic-jinja2==0.5.5',
'hupper==1.0',
],
entry_points='''
[console_scripts]
datasette=datasette.cli:cli
''',
setup_requires=['pytest-runner'],
tests_require=[
'pytest==3.2.3',
'aiohttp==2.3.2',
],
)