Skip to content

Commit 82bd1ae

Browse files
committed
Clean up
1 parent 4823278 commit 82bd1ae

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ build: clean cythonize
3636
python setup.py build_ext --inplace
3737

3838
install: uninstall clean cythonize
39-
pip install . -v
39+
pip install -ve .
4040

4141
uninstall:
4242
- pip uninstall -y -q dependency-injector 2> /dev/null

setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
# Defining setup variables:
1010
defined_macros = list()
11-
package_data = dict([('dependency_injector', ['*.pxd'])])
1211

1312
# Getting description:
1413
with open('README.rst') as readme_file:
@@ -27,9 +26,6 @@
2726
defined_macros.append(('CYTHON_TRACE', 1))
2827
defined_macros.append(('CYTHON_TRACE_NOGIL', 1))
2928

30-
package_data['dependency_injector'].append('*.pyx')
31-
package_data['dependency_injector'].append('*.c')
32-
3329

3430
setup(name='dependency-injector',
3531
version=version,
@@ -55,7 +51,9 @@
5551
define_macros=defined_macros,
5652
extra_compile_args=['-O2']),
5753
],
58-
package_data=package_data,
54+
package_data={
55+
'dependency_injector': ['*.pxd'],
56+
},
5957
zip_safe=True,
6058
license='BSD New',
6159
platforms=['any'],

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ commands=
99
unit2 discover tests/unit
1010

1111
[testenv:coveralls]
12-
basepython=python3.5
1312
passenv=TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DEPENDENCY_INJECTOR_DEBUG_MODE
13+
basepython=python3.5
14+
usedevelop=True
1415
deps=
1516
{[testenv]deps}
1617
cython
@@ -19,6 +20,7 @@ deps=
1920
commands=
2021
coverage erase
2122
coverage run --rcfile=./.coveragerc -m unittest2 discover tests/unit
23+
coverage report --rcfile=./.coveragerc
2224
coveralls
2325

2426
[testenv:pylint]

0 commit comments

Comments
 (0)