forked from simonw/datasette
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (63 loc) · 1.85 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
from setuptools import setup, find_packages
import os
import versioneer
def get_long_description():
with open(os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'README.md'
), encoding='utf8') as fp:
return fp.read()
def get_version():
path = os.path.join(
os.path.dirname(os.path.abspath(__file__)), 'datasette', 'version.py'
)
g = {}
exec(open(path).read(), g)
return g['__version__']
setup(
name='datasette',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='An instant JSON API for your SQLite databases',
long_description=get_long_description(),
long_description_content_type='text/markdown',
author='Simon Willison',
license='Apache License, Version 2.0',
url='https://github.com/simonw/datasette',
packages=find_packages(),
package_data={'datasette': ['templates/*.html']},
include_package_data=True,
install_requires=[
'click==6.7',
'click-default-group==1.2',
'Sanic==0.7.0',
'Jinja2==2.10',
'hupper==1.0',
'pint==0.8.1',
'pluggy>=0.7.1',
],
entry_points='''
[console_scripts]
datasette=datasette.cli:cli
''',
setup_requires=['pytest-runner'],
extras_require={
'test': [
'pytest==3.7.1',
'aiohttp==3.3.2',
'beautifulsoup4==4.6.1',
]
},
tests_require=[
'datasette[test]',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
'Topic :: Database',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.5',
],
)