mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
I'm using click, and click recommends using a setup.py - so I've added one of those. I also refactored code into a new datasite package. It's not quite deploying to now properly at the moment though - I seem to have messed up the path handling a bit. Also snuck in a new template for the "Row" view. Refs #40
18 lines
405 B
Python
18 lines
405 B
Python
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name='datasite',
|
|
version='0.1',
|
|
packages=find_packages(),
|
|
package_data={'datasite': ['templates/*.html']},
|
|
include_package_data=True,
|
|
install_requires=[
|
|
'click==6.7',
|
|
'sanic==0.6.0',
|
|
'sanic-jinja2==0.5.5',
|
|
],
|
|
entry_points='''
|
|
[console_scripts]
|
|
datasite=datasite.cli:cli
|
|
''',
|
|
)
|