Attempt x

This commit is contained in:
Roman Mogilatov 2016-11-02 19:28:11 +02:00
parent 1a9dd6cca7
commit b72488154a
3 changed files with 12 additions and 4 deletions

View File

@ -10,5 +10,13 @@ python:
- 3.5
env:
- TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
- TOXENV=pylint,flake8,pydocstyle
- TOXENV=py26,py27,py33,py34,py35,pypy,pypy3
- TOXENV=pylint
- TOXENV=flake8
- TOXENV=pydocstyle
- TOXENV=py26
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=pypy3

View File

@ -6,7 +6,8 @@ CYTHON_DIRECTIVES =
C_MACROS =
ifdef DEPENDENCY_INJECTOR_DEBUG_MODE
CYTHON_DIRECTIVES += -Xprofile=True -Xlinetrace=True
CYTHON_DIRECTIVES += -Xprofile=True
CYTHON_DIRECTIVES += -Xlinetrace=True
endif

View File

@ -23,7 +23,6 @@ defined_macros = list()
if os.environ.get('DEPENDENCY_INJECTOR_DEBUG_MODE') == '1':
defined_macros.append(('CYTHON_TRACE', 1))
defined_macros.append(('CYTHON_TRACE_NOGIL', 1))
print(defined_macros)
setup(name='dependency-injector',