From fe279ab7b4ae99dab295d5cf4d39ad06d782997e Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Mon, 13 Nov 2017 13:17:34 -0800 Subject: [PATCH] v0.8 - added PyPI metadata, ready to ship --- datasette/utils.py | 2 +- setup.py | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/datasette/utils.py b/datasette/utils.py index 52fd5e4c..b69cfc80 100644 --- a/datasette/utils.py +++ b/datasette/utils.py @@ -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( diff --git a/setup.py b/setup.py index 2fa916ab..13a4bf2b 100644 --- a/setup.py +++ b/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', + ], )