Fix issues causing tox not to run

pull/39/head
Andrew Hutchings 2022-02-11 21:13:03 +00:00 committed by Daniele Lacamera
parent 7482e9d20f
commit 969681a731
4 changed files with 7 additions and 13 deletions

View File

@ -3,7 +3,5 @@ include README.rst
recursive-include tests *
recursive-include requirements *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
recursive-include docs *.rst conf.py Makefile

View File

@ -23,8 +23,9 @@
import os
import sys
from setuptools import setup
from setuptools.command.build_ext import build_ext
from setuptools import setup, find_packages
os.chdir(os.path.dirname(sys.argv[0]) or ".")
import re
VERSIONFILE = "wolfcrypt/_version.py"
@ -61,11 +62,7 @@ setup(
url="https://github.com/wolfssl/wolfcrypt-py",
license="GPLv2 or Commercial License",
packages=["wolfcrypt"],
zip_safe=False,
cffi_modules=["./wolfcrypt/_build_ffi.py:ffibuilder"],
packages=find_packages(),
keywords="wolfssl, wolfcrypt, security, cryptography",
classifiers=[
u"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
@ -80,6 +77,7 @@ setup(
u"Topic :: Software Development"
],
setup_requires=["cffi"],
install_requires=["cffi"]
setup_requires=["cffi>=1.0.0"],
install_requires=["cffi>=1.0.0"],
cffi_modules=["./wolfcrypt/_build_ffi.py:ffibuilder"]
)

View File

View File

@ -3,8 +3,6 @@ envlist = py3
[testenv]
wheel = true
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/wolfcrypt-py
deps = -rrequirements/test.txt
commands = py.test tests/