Skip to content

Commit

Permalink
Merge pull request #170 from getyoti/development
Browse files Browse the repository at this point in the history
Release v2.10.2
  • Loading branch information
MrBurtyyy authored Mar 24, 2020
2 parents 01b9b90 + 2f7bfc2 commit d995f1b
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 905 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ language: python
dist: xenial

git:
depth: false
depth: 3

jobs:
allow_failures:
Expand Down
9 changes: 4 additions & 5 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
asn1==2.2.0
click==6.6
cryptography>=2.7.0
cryptography>=2.8.0
cffi>=1.13.0
future==0.15.2
future==0.18.2
itsdangerous==0.24
pbr==1.10.0
protobuf==3.7.0
protobuf==3.11.3
pyopenssl==18.0.0
PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4
pytz==2018.9
requests>=2.20.0
urllib3>=1.24.2
deprecated==1.2.6
wheel==0.24.0
wheel==0.24.0
32 changes: 15 additions & 17 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,26 @@
#
# pip-compile --output-file=requirements.txt requirements.in
#
asn1==2.2.0
asn1crypto==0.24.0 # via cryptography
asn1==2.2.0 # via -r requirements.in
certifi==2018.11.29 # via requests
cffi==1.13.0
cffi==1.13.0 # via -r requirements.in, cryptography
chardet==3.0.4 # via requests
click==6.6
cryptography==2.7
deprecated==1.2.6
future==0.15.2
cryptography==2.8 # via -r requirements.in, pyopenssl
deprecated==1.2.6 # via -r requirements.in
future==0.18.2 # via -r requirements.in
idna==2.7 # via requests
itsdangerous==0.24
pbr==1.10.0
protobuf==3.7.0
itsdangerous==0.24 # via -r requirements.in
pbr==1.10.0 # via -r requirements.in
protobuf==3.11.3 # via -r requirements.in
pycparser==2.18 # via cffi
pyopenssl==18.0.0
pytz==2018.9
pyyaml==5.2
requests==2.21.0
pyopenssl==18.0.0 # via -r requirements.in
pytz==2018.9 # via -r requirements.in
pyyaml==5.2 # via -r requirements.in
requests==2.21.0 # via -r requirements.in
six==1.10.0 # via cryptography, protobuf, pyopenssl
urllib3==1.24.2
wheel==0.24.0
urllib3==1.24.2 # via -r requirements.in, requests
wheel==0.24.0 # via -r requirements.in
wrapt==1.11.2 # via deprecated

# The following packages are considered to be unsafe in a requirements file:
# setuptools==43.0.0 # via protobuf
# setuptools
19 changes: 11 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages

from yoti_python_sdk import __version__
from setuptools import find_packages
from setuptools import setup

long_description = (
"This package contains the tools you need to quickly "
Expand All @@ -10,32 +9,36 @@
"application in a secure and trusted way."
)

version = {}
with open("yoti_python_sdk/version.py") as fp:
exec(fp.read(), version)

setup(
name="yoti",
version=__version__,
packages=find_packages(),
version=version["__version__"],
packages=find_packages(include=["yoti_python_sdk", "yoti_python_sdk.*"]),
license="MIT",
description="The Yoti Python SDK, providing API support for Login, Verify (2FA) and Age Verification.",
long_description=long_description,
url="https://github.com/getyoti/yoti-python-sdk",
author="Yoti",
author_email="[email protected]",
install_requires=[
"deprecated==1.2.6",
"cryptography>=2.2.1",
"protobuf>=3.1.0",
"requests>=2.11.1",
"future>=0.11.0",
"asn1==2.2.0",
"pyopenssl>=18.0.0",
"deprecated==1.2.6",
],
extras_require={
"examples": [
"Django>1.11.16",
"Flask>=0.10",
"python-dotenv>=0.7.1",
"django-sslserver>=0.2",
"Werkzeug==0.11.15",
"Werkzeug==0.15.3",
],
"dev": [
"pre-commit==1.17.0",
Expand All @@ -46,7 +49,7 @@
"python-coveralls==2.9.3",
"coverage==4.5.4",
"mock==2.0.0",
"virtualenv==15.2",
"virtualenv==20.0.13",
],
},
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.host.url = https://sonarcloud.io
sonar.organization = getyoti
sonar.projectKey = getyoti:python
sonar.projectName = Python SDK
sonar.projectVersion = 2.10.1
sonar.projectVersion = 2.10.2
sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*

sonar.python.pylint.reportPath = coverage.out
Expand Down
Empty file removed yoti_python_sandbox/__init__.py
Empty file.
97 changes: 0 additions & 97 deletions yoti_python_sandbox/age_verification.py

This file was deleted.

127 changes: 0 additions & 127 deletions yoti_python_sandbox/anchor.py

This file was deleted.

Loading

0 comments on commit d995f1b

Please sign in to comment.