Setup dependencies, tox, dummy test

This commit is contained in:
2021-10-08 23:28:42 +02:00
parent ae4563be1b
commit 510409f074
3 changed files with 9 additions and 6 deletions

View File

@@ -71,11 +71,10 @@ setup(
], ],
python_requires='>=3.6', python_requires='>=3.6',
install_requires=[ install_requires=[
# eg: 'aspectlib==1.1.1', 'six>=1.7', 'cryptography'
], ],
extras_require={ extras_require={
# eg: 'django': ['django>=3.2'],
# 'rst': ['docutils>=0.11'], 'sqlalchemy': ['sqlalchemy>=1.4']
# ':python_version=="2.6"': ['argparse'],
}, },
) )

View File

@@ -1,6 +1,6 @@
from cryptbase import main import cryptbase
def test_main(): def test_main():
pass assert cryptbase.__version__ == '0.0.0'

View File

@@ -33,6 +33,8 @@ passenv =
* *
usedevelop = false usedevelop = false
deps = deps =
django
sqlalchemy
pytest pytest
pytest-cov pytest-cov
commands = commands =
@@ -57,6 +59,8 @@ commands =
usedevelop = true usedevelop = true
deps = deps =
-r{toxinidir}/docs/requirements.txt -r{toxinidir}/docs/requirements.txt
django
sqlalchemy
commands = commands =
sphinx-build {posargs:-E} -b html docs dist/docs sphinx-build {posargs:-E} -b html docs dist/docs
sphinx-build -b linkcheck docs dist/docs sphinx-build -b linkcheck docs dist/docs