nested-lookup/setup.py
russellballestrini c50bc0b355 Python 3 Support using six.iteritems() function.
modified:   README.rst
	modified:   nested_lookup.py
	new file:   requirements.txt
	modified:   setup.py
2015-12-02 14:54:51 -05:00

32 lines
998 B
Python

# installation: pip install nested-lookup
from setuptools import setup
from pip.req import parse_requirements
# get list of requirement strings from requirements.txt
requires = map(lambda ir : str(ir.req), parse_requirements('requirements.txt'))
setup(
name = 'nested-lookup',
version = '0.0.3',
description = 'lookup a key in a deeply nested document of dicts and lists',
keywords = 'nested document dictionary dict list lookup schema json xml yaml',
long_description = open('README.rst').read(),
author = 'Russell Ballestrini',
author_email = 'russell@ballestrini.net',
url = 'https://github.com/russellballestrini/nested-lookup',
platforms = ['All'],
license = 'Public Domain',
py_modules = ['nested_lookup'],
include_package_data = True,
install_requires = requires,
)
# setup keyword args: http://peak.telecommunity.com/DevCenter/setuptools
# built and uploaded to pypi with this:
# python setup.py sdist bdist_egg register upload