mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Attempt x
This commit is contained in:
parent
1a9dd6cca7
commit
b72488154a
12
.travis.yml
12
.travis.yml
|
@ -10,5 +10,13 @@ python:
|
||||||
- 3.5
|
- 3.5
|
||||||
env:
|
env:
|
||||||
- TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
|
- TOXENV=coveralls DEPENDENCY_INJECTOR_DEBUG_MODE=1
|
||||||
- TOXENV=pylint,flake8,pydocstyle
|
- TOXENV=pylint
|
||||||
- TOXENV=py26,py27,py33,py34,py35,pypy,pypy3
|
- TOXENV=flake8
|
||||||
|
- TOXENV=pydocstyle
|
||||||
|
- TOXENV=py26
|
||||||
|
- TOXENV=py27
|
||||||
|
- TOXENV=py33
|
||||||
|
- TOXENV=py34
|
||||||
|
- TOXENV=py35
|
||||||
|
- TOXENV=pypy
|
||||||
|
- TOXENV=pypy3
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -6,7 +6,8 @@ CYTHON_DIRECTIVES =
|
||||||
C_MACROS =
|
C_MACROS =
|
||||||
|
|
||||||
ifdef DEPENDENCY_INJECTOR_DEBUG_MODE
|
ifdef DEPENDENCY_INJECTOR_DEBUG_MODE
|
||||||
CYTHON_DIRECTIVES += -Xprofile=True -Xlinetrace=True
|
CYTHON_DIRECTIVES += -Xprofile=True
|
||||||
|
CYTHON_DIRECTIVES += -Xlinetrace=True
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -23,7 +23,6 @@ defined_macros = list()
|
||||||
if os.environ.get('DEPENDENCY_INJECTOR_DEBUG_MODE') == '1':
|
if os.environ.get('DEPENDENCY_INJECTOR_DEBUG_MODE') == '1':
|
||||||
defined_macros.append(('CYTHON_TRACE', 1))
|
defined_macros.append(('CYTHON_TRACE', 1))
|
||||||
defined_macros.append(('CYTHON_TRACE_NOGIL', 1))
|
defined_macros.append(('CYTHON_TRACE_NOGIL', 1))
|
||||||
print(defined_macros)
|
|
||||||
|
|
||||||
|
|
||||||
setup(name='dependency-injector',
|
setup(name='dependency-injector',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user