forked from foundertherapy/django-cryptographic-fields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·38 lines (33 loc) · 1.11 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import os
from setuptools import setup
with open('cryptographic_fields/__init__.py', 'r') as init_file:
version = re.search(
'^__version__ = [\'"]([^\'"]+)[\'"]',
init_file.read(),
re.MULTILINE,
).group(1)
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-cryptographic-fields',
version=version,
packages=['cryptographic_fields'],
# license='MIT License',
# include_package_data=True,
description=(
'A set of django fields that internally are encrypted using the '
'cryptography.io native python encryption library.'
),
url='http://github.com/foundertherapy/django-cryptographic-fields/',
download_url='https://github.com/foundertherapy/django-cryptographic-fields/archive/v0.1-alpha.tar.gz',
author='Dana Spiegel',
author_email='[email protected]',
install_requires=[
'Django>=1.7',
'cryptography>=0.8.2',
],
keywords=['encryption', 'django', 'fields', ],
)