<filename>setup.py<gh_stars>100-1000
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import print_function
from setuptools import setup
import re


with open('encrypted_fields/__init__.py', 'r') as init_file:
    version = re.search(
        '^__version__ = [\'"]([^\'"]+)[\'"]',
        init_file.read(),
        re.MULTILINE,
    ).group(1)


setup(
    name='django-encrypted-fields',
    description=(
        'This is a collection of Django Model Field classes '
        'that are encrypted using Keyczar.'
    ),
    url='http://github.com/defrex/django-encrypted-fields/',
    license='BSD',
    author='<NAME>',
    author_email='<EMAIL>',
    packages=['encrypted_fields'],
    version=version,
    install_requires=[
        'Django>=1.4',
        'python-keyczar>=0.71c',
    ],
)
