forked from kapouille/mongoquery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (31 loc) · 1.16 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
from setuptools import setup, find_packages
import os
HERE = os.path.dirname(__file__)
def read_file(filename):
with open(os.path.join(HERE, filename)) as fh:
return fh.read().strip(' \t\n\r')
README = read_file("README.rst")
setup(
name='mongoquery',
version=read_file("VERSION.txt"),
classifiers=[
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 2 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities"
],
author='Olivier Carrere',
description="A utility library that provides a MongoDB-like query "
"language for querying python collections. It's mainly "
"intended to parse objects structured as fundamental types in "
"a similar fashion to what is produced by JSON or YAML "
"parsers.",
long_description=README,
author_email='[email protected]',
url='http://github.com/kapouille/mongoquery',
keywords='mongodb query match',
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False
)