Skip to content

Commit d466923

Browse files
committed
Merge branch 'kernel' into deploy
2 parents 7c31acd + a23130b commit d466923

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

template/__init__with_pkgutil.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# -*- coding:utf-8 -*-
2+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

tox.ini

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# tox (https://tox.readthedocs.io/) is a tool for running tests
2+
# in multiple virtualenvs. This configuration file will run the
3+
# test suite on all supported python versions. To use it, "pip install tox"
4+
# and then run "tox" from this directory.
5+
# For information see https://tox.readthedocs.io/en/latest/examples.html
6+
7+
[tox]
8+
envlist = py27, py39
9+
10+
minversion = 3.23.1
11+
12+
# Activate isolated build environment. tox will use a virtual environment
13+
# to build a source distribution from the source tree. For build tools and
14+
# arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
15+
isolated_build = true
16+
17+
# install testing framework
18+
# ... or install anything else you might need here
19+
[testenv]
20+
passenv =
21+
PYTHONPATH
22+
platform = linux: linux
23+
macos: darwin
24+
windows: win32
25+
; alwayscopy = True
26+
allowlist_externals =
27+
/bin/bash
28+
; changedir =
29+
; tests
30+
# https://tox.readthedocs.io/en/latest/config.html#conf-deps
31+
deps =
32+
unittest2
33+
flake8
34+
virtualenv
35+
setuptools
36+
wheel
37+
discover
38+
tox
39+
toml
40+
tox-travis
41+
build
42+
twine
43+
commands =
44+
; windows: python --version
45+
; macos,linux: python --version
46+
discover -s ./tests -t .
47+
; unit2 discover []
48+
; python -m unittest discover

0 commit comments

Comments
 (0)