-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathsetup.py
37 lines (33 loc) · 1.24 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
36
37
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 :: 5 - Production/Stable",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"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.",
install_requires=['six'],
long_description=README,
author_email='olivier.carrere@gmail.com',
url='http://github.com/kapouille/mongoquery',
keywords='mongodb query match',
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False
)