From: Javier Sancho Date: Thu, 31 May 2018 07:41:30 +0000 (+0200) Subject: Version updated to 0.2.0 X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=308721266b775e56f3e43b0426c255c8b643d5a4;p=datasette-pytables.git Version updated to 0.2.0 --- diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..0ea3a94 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.2.0 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': [