forked from thomasw/querylist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (34 loc) · 1.23 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
38
39
40
41
42
import sys
from setuptools import setup, find_packages
import querylist
unittest2_module = ''
if sys.version_info < (2, 7):
# spec causes python setup.py test to fail. This import fixes that for
# some reason.
import multiprocessing # noqa
# If we're still on python 2.6, we need unittest2
unittest2_module = 'unittest2<1.2'
setup(
name='querylist',
version=querylist.__version__,
url='https://github.com/thomasw/querylist',
download_url='https://github.com/thomasw/querylist/downloads',
author=querylist.__author__,
author_email='thomas.welfley+querylist@gmail.com',
description='This package provides a QueryList class with django '
'ORM-esque filtering, excluding, and getting for lists. It '
'also provides BetterDict, a dot lookup/assignment capable '
'wrapper for dicts that is 100% backwards compatible.',
packages=find_packages(),
tests_require=[
'nose>=1.3.6,<1.4',
'spec>=1.2.2,<1.3',
unittest2_module
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries',
],
test_suite='nose.collector',
)