2018-07-28 06:43:18 -07:00
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
import io
|
|
|
|
|
import os
|
|
|
|
|
|
2019-02-22 18:22:28 -08:00
|
|
|
VERSION = "0.12"
|
2018-07-28 17:42:41 -07:00
|
|
|
|
2018-07-28 06:43:18 -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="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,
|
2018-07-28 06:43:18 -07:00
|
|
|
license="Apache License, Version 2.0",
|
|
|
|
|
packages=find_packages(),
|
2019-02-22 17:40:21 -08:00
|
|
|
install_requires=["click", "click-default-group"],
|
2018-07-28 06:43:18 -07:00
|
|
|
setup_requires=["pytest-runner"],
|
2019-01-24 19:06:30 -08:00
|
|
|
extras_require={"test": ["pytest", "black"]},
|
2018-07-28 06:43:18 -07:00
|
|
|
entry_points="""
|
|
|
|
|
[console_scripts]
|
|
|
|
|
sqlite-utils=sqlite_utils.cli:cli
|
|
|
|
|
""",
|
2018-07-28 07:36:43 -07:00
|
|
|
tests_require=["sqlite-utils[test]"],
|
2018-07-28 06:43:18 -07:00
|
|
|
url="https://github.com/simonw/sqlite-utils",
|
|
|
|
|
classifiers=[
|
|
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
|
"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",
|
|
|
|
|
],
|
|
|
|
|
)
|