X-Git-Url: https://git.jsancho.org/?p=datasette-pytables.git;a=blobdiff_plain;f=setup.py;h=42b8ea474fcffbcb77c8f83a0fe3dda7a8581d71;hp=04f4253f30ee49e1c7fe15acddfa175e9c372368;hb=308721266b775e56f3e43b0426c255c8b643d5a4;hpb=d3ebe73db6b25569b800ccd55ad8eb90dd88b773 diff --git a/setup.py b/setup.py index 04f4253..42b8ea4 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,13 +14,13 @@ 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': [