kopia lustrzana https://github.com/simonw/datasette
rodzic
847f3e0c92
commit
fe279ab7b4
|
@ -140,7 +140,7 @@ def make_dockerfile(files, metadata_file):
|
|||
FROM python:3
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
RUN pip install https://static.simonwillison.net/static/2017/datasette-0.7-py3-none-any.whl
|
||||
RUN pip install datasette
|
||||
RUN datasette build {} --inspect-file inspect-data.json
|
||||
EXPOSE 8001
|
||||
CMD ["datasette", "serve", {}, "--port", "8001", "--cors", "--inspect-file", "inspect-data.json"{}]'''.format(
|
||||
|
|
15
setup.py
15
setup.py
|
@ -2,7 +2,11 @@ from setuptools import setup, find_packages
|
|||
|
||||
setup(
|
||||
name='datasette',
|
||||
version='0.7',
|
||||
description='An instant JSON API for your SQLite databases',
|
||||
author='Simon Willison',
|
||||
version='0.8',
|
||||
license='Apache License, Version 2.0',
|
||||
url='https://github.com/simonw/datasette',
|
||||
packages=find_packages(),
|
||||
package_data={'datasette': ['templates/*.html']},
|
||||
include_package_data=True,
|
||||
|
@ -22,4 +26,13 @@ setup(
|
|||
'pytest==3.2.3',
|
||||
'aiohttp==2.3.2',
|
||||
],
|
||||
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',
|
||||
],
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue