Post 2.0.1 release actions done
[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     author_email='jsf@jsancho.org',
23     url='https://github.com/jsancho-gpl/datasette-pytables',
24     license='Apache License, Version 2.0',
25     packages=['datasette_pytables'],
26     entry_points={
27         'datasette.connectors': [
28             'pytables = datasette_pytables:PyTablesConnector'
29         ],
30     },
31     install_requires=[
32         'datasette-connectors>=2.0.0',
33         'tables',
34         'moz-sql-parser==3.32.20026',
35         'mo-future==3.89.20246'
36     ],
37     tests_require=['pytest', 'aiohttp']
38 )