From 308721266b775e56f3e43b0426c255c8b643d5a4 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Thu, 31 May 2018 09:41:30 +0200 Subject: [PATCH] Version updated to 0.2.0 --- VERSION | 1 + setup.py | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 VERSION 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': [ -- 2.39.2