mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Add version number support with Versioneer
Repo: https://github.com/warner/python-versioneer Versioneer Licence: Public Domain (CC0-1.0) Closes #273
This commit is contained in:
parent
58b5a37dbb
commit
a113c28ea1
7 changed files with 2361 additions and 1 deletions
5
setup.py
5
setup.py
|
|
@ -1,6 +1,8 @@
|
|||
from setuptools import setup, find_packages
|
||||
import os
|
||||
|
||||
import versioneer
|
||||
|
||||
|
||||
def get_long_description():
|
||||
with open(os.path.join(
|
||||
|
|
@ -20,11 +22,12 @@ def get_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',
|
||||
version=get_version(),
|
||||
license='Apache License, Version 2.0',
|
||||
url='https://github.com/simonw/datasette',
|
||||
packages=find_packages(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue