Merge pull request #39 from dave-shawley/fix-nspkgs

Fix namespace packaging.
This commit is contained in:
dave-shawley 2021-09-19 09:56:58 -04:00 committed by GitHub
commit 211d6cb97c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 7 deletions

View file

@ -29,6 +29,10 @@ classifiers =
Topic :: Software Development :: Libraries :: Python Modules
[options]
namespace_packages =
sprockets
sprockets.mixins
packages = find:
install_requires =
ietfparse>=1.5.1,<2
tornado>=5,<7

27
tox.ini
View file

@ -1,14 +1,27 @@
[tox]
envlist = py37,py38,py39
envlist = py37,py38,py39,coverage,docs,lint
indexserver =
default = https://pypi.python.org/simple
default = https://pypi.python.org/simple
toxworkdir = build/tox
skip_missing_interpreters = true
[testenv]
deps =
-e .[msgpack]
-r requires/testing.txt
usedevelop = true
extras =
dev
msgpack
commands =
coverage run -m unittest []
coverage report
python -m unittest tests.py
[testenv:coverage]
commands =
coverage run -m unittest tests.py
coverage report
[testenv:docs]
commands =
sphinx-build -b html -aEn docs {envtmpdir}/sphinx
[testenv:lint]
commands =
flake8 sprockets tests.py