mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
v0.8 - added PyPI metadata, ready to ship
This commit is contained in:
parent
847f3e0c92
commit
fe279ab7b4
2 changed files with 15 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ def make_dockerfile(files, metadata_file):
|
||||||
FROM python:3
|
FROM python:3
|
||||||
COPY . /app
|
COPY . /app
|
||||||
WORKDIR /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
|
RUN datasette build {} --inspect-file inspect-data.json
|
||||||
EXPOSE 8001
|
EXPOSE 8001
|
||||||
CMD ["datasette", "serve", {}, "--port", "8001", "--cors", "--inspect-file", "inspect-data.json"{}]'''.format(
|
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(
|
setup(
|
||||||
name='datasette',
|
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(),
|
packages=find_packages(),
|
||||||
package_data={'datasette': ['templates/*.html']},
|
package_data={'datasette': ['templates/*.html']},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
|
@ -22,4 +26,13 @@ setup(
|
||||||
'pytest==3.2.3',
|
'pytest==3.2.3',
|
||||||
'aiohttp==2.3.2',
|
'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',
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue