sqlite-utils/setup.py

65 lines
2.1 KiB
Python
Raw Normal View History

from setuptools import setup, find_packages
import io
import os
VERSION = "3.15.1"
2018-07-28 17:42:41 -07:00
def get_long_description():
with io.open(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md"),
encoding="utf8",
) as fp:
return fp.read()
setup(
name="sqlite-utils",
description="CLI tool and Python utility functions for manipulating SQLite databases",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="Simon Willison",
2018-07-28 17:42:41 -07:00
version=VERSION,
license="Apache License, Version 2.0",
packages=find_packages(exclude=["tests", "tests.*"]),
install_requires=[
"sqlite-fts4",
"click",
"click-default-group",
"tabulate",
"dateutils",
],
setup_requires=["pytest-runner"],
extras_require={
"test": ["pytest", "black", "hypothesis"],
"docs": ["sphinx_rtd_theme", "sphinx-autobuild", "codespell"],
"mypy": ["mypy", "types-click", "types-tabulate", "types-python-dateutil"],
2021-06-22 18:23:12 -07:00
"flake8": ["flake8"],
},
entry_points="""
[console_scripts]
sqlite-utils=sqlite_utils.cli:cli
""",
tests_require=["sqlite-utils[test]"],
url="https://github.com/simonw/sqlite-utils",
2020-05-11 12:16:22 -07:00
project_urls={
"Documentation": "https://sqlite-utils.datasette.io/en/stable/",
"Changelog": "https://sqlite-utils.datasette.io/en/stable/changelog.html",
2020-05-11 12:16:22 -07:00
"Source code": "https://github.com/simonw/sqlite-utils",
"Issues": "https://github.com/simonw/sqlite-utils/issues",
2020-08-28 15:41:29 -07:00
"CI": "https://github.com/simonw/sqlite-utils/actions",
2020-05-11 12:16:22 -07:00
},
python_requires=">=3.6",
classifiers=[
2019-07-14 10:16:36 -07:00
"Development Status :: 5 - Production/Stable",
"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.7",
2019-07-14 10:16:36 -07:00
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)