]> git.jsancho.org Git - datasette-connectors.git/blob - setup.py
Explanation about Row class
[datasette-connectors.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-connectors',
17     version=get_version(),
18     description='Datasette support to other database types',
19     long_description=get_long_description(),
20     long_description_content_type='text/markdown',
21     author='Javier Sancho',
22     url='https://github.com/pytables/datasette-connectors',
23     license='Apache License, Version 2.0',
24     packages=['datasette_connectors'],
25     install_requires=['datasette==0.25'],
26     tests_require=['pytest', 'aiohttp'],
27     entry_points='''
28         [console_scripts]
29         datasette=datasette_connectors.cli:cli
30     '''
31 )