]> git.jsancho.org Git - datasette-pytables.git/blob - setup.py
Use max_returned_rows in conjuction with page_size for truncating
[datasette-pytables.git] / setup.py
1 from setuptools import setup
2 import os
3
4 VERSION = '0.1'
5
6
7 def get_long_description():
8     with open(os.path.join(
9         os.path.dirname(os.path.abspath(__file__)), 'README.md'
10     ), encoding='utf8') as fp:
11         return fp.read()
12
13
14 setup(
15     name='datasette-pytables',
16     description='Datasette connector for loading pytables files (.h5)',
17     long_description=get_long_description(),
18     long_description_content_type='text/markdown',
19     author='Javier Sancho',
20     url='https://github.com/jsancho-gpl/datasette-pytables',
21     license='Apache License, Version 2.0',
22     version=VERSION,
23     packages=['datasette_pytables'],
24     entry_points={
25         'datasette.connectors': [
26             'pytables = datasette_pytables'
27         ],
28     },
29     install_requires=['datasette', 'tables', 'moz-sql-parser', 'mo-future'],
30     tests_require=['pytest']
31 )
32