X-Git-Url: https://git.jsancho.org/?p=datasette-pytables.git;a=blobdiff_plain;f=setup.py;h=8b013294588d86200391fc5cab5ce05ce90993dd;hp=72d16850ad03ea494a457660b143c6f47464a028;hb=6ca6ff3a33c6920d45b97397daf1222df32111c5;hpb=25d0571fb4a85291df0f7cea4f1424588a7961fc diff --git a/setup.py b/setup.py index 72d1685..8b01329 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,9 @@ from setuptools import setup import os -VERSION = '0.1' - +def get_version(): + with open('VERSION') as fd: + return fd.read() def get_long_description(): with open(os.path.join( @@ -13,19 +14,20 @@ def get_long_description(): setup( name='datasette-pytables', + version=get_version(), description='Datasette connector for loading pytables files (.h5)', long_description=get_long_description(), long_description_content_type='text/markdown', author='Javier Sancho', url='https://github.com/jsancho-gpl/datasette-pytables', license='Apache License, Version 2.0', - version=VERSION, packages=['datasette_pytables'], entry_points={ 'datasette.connectors': [ 'pytables = datasette_pytables' ], }, - install_requires=['datasette', 'tables', 'sqlparse'] + install_requires=['datasette-core', 'tables', 'moz-sql-parser', 'mo-future'], + tests_require=['pytest'] )