]> git.jsancho.org Git - datasette-pytables.git/blobdiff - setup.py
Version updated to 0.2.0
[datasette-pytables.git] / setup.py
index 466ce4cc5e2fac0b0bfb805d895fc636bcc54473..42b8ea474fcffbcb77c8f83a0fe3dda7a8581d71 100644 (file)
--- 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,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', 'tables', 'moz-sql-parser', 'mo-future']
+    install_requires=['datasette', 'tables', 'moz-sql-parser', 'mo-future'],
+    tests_require=['pytest']
 )