forked from defrex/django-encrypted-fields
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·37 lines (31 loc) · 881 Bytes
/
setup.py
File metadata and controls
executable file
·37 lines (31 loc) · 881 Bytes
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from setuptools import setup
import re
import sys
if sys.version_info[0]<3:
raise RuntimeError("Python >=3 required.")
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-python3',
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='Aron Jones',
author_email='aron.jones@gmail.com',
packages=['encrypted_fields'],
version=version,
install_requires=[
'Django>=1.4',
'python3-keyczar>=0.71c',
],
)