-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename package, update for python 3, switch tests to tox/travis-ci
- Loading branch information
Showing
26 changed files
with
181 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[run] | ||
include = encrypted_fields/* | ||
omit = *migrations*, *tests* | ||
plugins = | ||
django_coverage_plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,35 @@ | ||
# Logs | ||
logs | ||
*.log | ||
|
||
# Basics | ||
*.py[cod] | ||
__pycache__ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
*.pyc | ||
|
||
# sqlite | ||
*.sqlite | ||
.DS_Store | ||
*~ | ||
*.sqlite3 | ||
.idea | ||
|
||
# Windows | ||
.DS_Store | ||
|
||
# Python Setup | ||
dist | ||
*.egg-info | ||
build | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
|
||
# Vim | ||
*~ | ||
*.swp | ||
*.swo | ||
|
||
# pyenv | ||
.python-version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
sudo: true | ||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -qq build-essential gettext python-dev zlib1g-dev libpq-dev xvfb | ||
- sudo apt-get install -qq libtiff4-dev libjpeg8-dev libfreetype6-dev liblcms1-dev libwebp-dev | ||
- sudo apt-get install -qq graphviz-dev python-setuptools python3-dev python-virtualenv python-pip | ||
- sudo apt-get install -qq firefox automake libtool libreadline6 libreadline6-dev libreadline-dev | ||
- sudo apt-get install -qq libsqlite3-dev libxml2 libxml2-dev libssl-dev libbz2-dev wget curl llvm | ||
language: python | ||
cache: | ||
pip | ||
install: | ||
pip install -r requirements.txt | ||
python: | ||
- "2.7" | ||
- "3.5" | ||
- "3.6" | ||
script: | ||
python manage.py test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '0.5.2' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
import cryptography.fernet | ||
|
||
import fields | ||
from . import fields | ||
|
||
|
||
class TestSettings(TestCase): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
setuptools | ||
coverage | ||
cryptography | ||
setuptools==34.3.2 | ||
cryptography==1.8.1 | ||
Django>=1.9.4 | ||
django_coverage | ||
flake8 | ||
ipython | ||
mock | ||
pep8 | ||
psycopg2 | ||
pyflakes | ||
pytz | ||
yolk | ||
freezegun | ||
freezegun==0.3.8 | ||
six==1.10.0 | ||
# for testing... | ||
coverage==4.3.4 | ||
django_coverage==1.2.4 | ||
mccabe==0.6.1 | ||
mock==2.0.0 | ||
psycopg2==2.7.1 | ||
tox==2.6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
exclude = .tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules | ||
|
||
[pep8] | ||
max-line-length = 120 | ||
exclude=.tox,.git,*/migrations/*,*/static/CACHE/*,docs,node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
from setuptools import setup, find_packages | ||
|
||
|
||
with open('cryptographic_fields/__init__.py', 'r') as init_file: | ||
with open('encrypted_fields/__init__.py', 'r') as init_file: | ||
version = re.search( | ||
'^__version__ = [\'"]([^\'"]+)[\'"]', | ||
init_file.read(), | ||
|
@@ -17,7 +17,7 @@ | |
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) | ||
|
||
setup( | ||
name='django-cryptographic-fields', | ||
name='django-encrypted-fields', | ||
version=version, | ||
packages=find_packages(), | ||
license='MIT', | ||
|
@@ -26,13 +26,41 @@ | |
'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/' + version + '.tar.gz', | ||
author='Dana Spiegel', | ||
author_email='[email protected]', | ||
long_description=open('README.rst').read(), | ||
url='http://github.com/lanshark/django-encrypted-fields/', | ||
download_url='https://github.com/lanshark/django-encrypted-fields/archive/' + version + '.tar.gz', | ||
author='Scott Sharkey', | ||
author_email='[email protected]', | ||
maintainer="Scott Sharkey", | ||
maintainer_email="[email protected]", | ||
install_requires=[ | ||
'Django>=1.7', | ||
'cryptography>=0.8.2', | ||
'six', | ||
], | ||
tests_require=['tox'], | ||
keywords=['encryption', 'django', 'fields', ], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Environment :: Web Environment', | ||
'Operating System :: OS Independent', | ||
"Operating System :: POSIX", | ||
"Operating System :: Unix", | ||
"Topic :: Internet :: WWW/HTTP", | ||
'Topic :: Security', | ||
'Topic :: System :: Systems Administration :: Authentication/Directory', | ||
"Programming Language :: Python", | ||
'Programming Language :: Python :: 2', | ||
"Programming Language :: Python :: 2.7", | ||
'Programming Language :: Python :: 3', | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
'Programming Language :: Python :: 3.6', | ||
'Framework :: Django', | ||
'Framework :: Django :: 1.8', | ||
'Framework :: Django :: 1.9', | ||
'Framework :: Django :: 1.10', | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# -*- coding: utf-8 -*- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# -*- coding: utf-8 -*- | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
Oops, something went wrong.