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