import pathlib
from setuptools import setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
NAME = 'memquery'
VERSION = None
project_path = os.path.abspath(os.path.dirname(__file__))
about = {}
if not VERSION:
project_slug = NAME.lower().replace("-", "_").replace(" ", "_")
with open(os.path.join(project_path, project_slug, "__version__.py")) as f:
exec(f.read(), about)
else:
about["__version__"] = VERSION
setup(
name="memquery",
version=about["__version__"],
description="MemQuery is simple library for creating, querying, and updating in memory documents that are represented as JSON objects and queried using Mongodb like operators.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/robjsliwa/mem_query",
author="Rob Sliwa",
author_email="robjsliwa@gmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Topic :: inmemory",
"Topic :: query",
"Topic:: database",
"Topic :: json",
"Topic :: nosql"
],
packages=["memquery"],
include_package_data=True,
install_requires=["feedparser", "html2text"],
entry_points="",
)