]> git.jsancho.org Git - datasette-pytables.git/blobdiff - setup.py
Use the datasette-connectors module for monkey patching datasette
[datasette-pytables.git] / setup.py
index 4840847735e225c189ad798b0813eaa6d7a4b040..0e9f1f92d6e76f4874d1aa9465d77f77f0294b7f 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().strip()
 
 def get_long_description():
     with open(os.path.join(
@@ -13,19 +14,24 @@ 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']
+    install_requires=[
+        'datasette-connectors',
+        'tables',
+        'moz-sql-parser==1.3.18033',
+        'mo-future==1.6.18072'
+    ],
+    tests_require=['pytest', 'aiohttp']
 )
-