docs and makefile small fixes

pull/1/head
Moisés Guimarães 2017-12-19 14:49:40 -03:00
parent 5ddbaa9441
commit 8d972799c2
5 changed files with 25 additions and 4 deletions

View File

@ -58,7 +58,7 @@ check: test ## run tests quickly with the default Python
test-all: ## run tests on every Python version with tox
tox
check-all: ## run tests on every Python version with tox
check-all: test-all ## run tests on every Python version with tox
coverage: ## check code coverage quickly with the default Python
coverage run --source wolfcrypt -m pytest

View File

@ -1,5 +1,22 @@
# Makefile for Sphinx documentation
#
# Copyright (C) 2006-2017 wolfSSL Inc.
#
# This file is part of wolfSSL. (formerly known as CyaSSL)
#
# wolfSSL is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# wolfSSL is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
# You can set these variables from the command line.
SPHINXOPTS =

View File

@ -52,7 +52,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'wolfcrypt'
project = u'wolfcrypt Python'
copyright = u'2017, wolfSSL Inc. All rights reserved'
author = u'wolfSSL'

View File

@ -40,4 +40,8 @@ __email__ = "info@wolfssl.com"
__license__ = "GPLv2 or Commercial License"
__copyright__ = "Copyright (C) 2006-2017 wolfSSL Inc"
__all__ = ["ciphers", "hashes", "random"]
__all__ = [
"__title__", "__summary__", "__uri__", "__version__",
"__author__", "__email__", "__license__", "__copyright__",
"ciphers", "hashes", "random"
]

View File

@ -18,10 +18,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
from distutils.util import get_platform
from cffi import FFI
from wolfcrypt import __wolfssl_version__ as version
from wolfcrypt._build_wolfssl import local_path
from distutils.util import get_platform
ffi = FFI()