X-Git-Url: https://git.jsancho.org/?p=datasette-pytables.git;a=blobdiff_plain;f=setup.py;h=ff468632b49cf61cd7473c3069f1bf8d1edc570c;hp=466ce4cc5e2fac0b0bfb805d895fc636bcc54473;hb=30d9dbfca20886a04bdbc6da0df77afb16e26436;hpb=2cf7538022a4290be1cdbe6f8cf13e44f8190bee diff --git a/setup.py b/setup.py index 466ce4c..ff46863 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,25 @@ 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', + author_email='jsf@jsancho.org', 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' + 'pytables = datasette_pytables:PyTablesConnector' ], }, - install_requires=['datasette', 'tables', 'moz-sql-parser', 'mo-future'] + install_requires=[ + 'datasette-connectors>=2.0.0', + 'tables', + 'moz-sql-parser==3.32.20026', + 'mo-future==3.89.20246' + ], + tests_require=['pytest', 'aiohttp'] ) -