]> git.jsancho.org Git - datasette-pytables.git/blobdiff - setup.py
Fix entry point and some issues with sqlite glob operand
[datasette-pytables.git] / setup.py
index 8b013294588d86200391fc5cab5ce05ce90993dd..ff468632b49cf61cd7473c3069f1bf8d1edc570c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ import os
 
 def get_version():
     with open('VERSION') as fd:
-        return fd.read()
+        return fd.read().strip()
 
 def get_long_description():
     with open(os.path.join(
@@ -19,15 +19,20 @@ setup(
     long_description=get_long_description(),
     long_description_content_type='text/markdown',
     author='Javier Sancho',
+    author_email='jsf@jsancho.org',
     url='https://github.com/jsancho-gpl/datasette-pytables',
     license='Apache License, Version 2.0',
     packages=['datasette_pytables'],
     entry_points={
         'datasette.connectors': [
-            'pytables = datasette_pytables'
+            'pytables = datasette_pytables:PyTablesConnector'
         ],
     },
-    install_requires=['datasette-core', 'tables', 'moz-sql-parser', 'mo-future'],
-    tests_require=['pytest']
+    install_requires=[
+        'datasette-connectors>=2.0.0',
+        'tables',
+        'moz-sql-parser==3.32.20026',
+        'mo-future==3.89.20246'
+    ],
+    tests_require=['pytest', 'aiohttp']
 )
-