X-Git-Url: https://git.jsancho.org/?p=datasette-pytables.git;a=blobdiff_plain;f=setup.py;h=032a946069d0e7daf1e2c7096ac9592e228b965f;hp=4840847735e225c189ad798b0813eaa6d7a4b040;hb=4e2383e4c4af6e1e9d03d4aa33a0e9bc6e01d399;hpb=f09e9ea8de59e13702fcda7030e27904c5e89282 diff --git a/setup.py b/setup.py index 4840847..032a946 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().strip() 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'] + install_requires=['datasette-core', 'tables', 'moz-sql-parser', 'mo-future'], + tests_require=['pytest'] )