Skip to content

Commit

Permalink
Make querylist installable.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasw committed Nov 25, 2012
1 parent a6e22ce commit 2ed6bd2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions setup.py
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,33 @@
import sys

from setuptools import setup, find_packages

from querylist import __version__, __author__

unittest2_module = 'unittest2==0.5.1'

# If we're using Python 3, unittest2 won't work. We need unittest2py3k
if sys.version_info > (3, 0):
unittest2_module = 'unittest2py3k==0.5.1'

setup(
name="querylist",
version=__version__,
url='https://github.com/thomasw/querylist',
download_url='https://github.com/thomasw/querylist/downloads',
author=__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.2.1", "pinocchio==0.3.1", unittest2_module],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers'
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries',
],
test_suite='nose.collector'
)

0 comments on commit 2ed6bd2

Please sign in to comment.