Skip to content

Commit 097705b

Browse files
committed
add language_level
1 parent 1b45c26 commit 097705b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Differences between original repository and fork:
88
* No deprecations. The following deprecations has been fixed:
99
* UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument.
1010
* DeprecationWarning: 'np.float' is a deprecated alias for builtin 'float'.
11+
* FutureWarning: Cython directive 'language_level' not set.
1112
* No unnecessary files.
1213

1314
# Installation

widerface_evaluate/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
import numpy
1111

1212
package = Extension('bbox', ['box_overlaps.pyx'], include_dirs=[numpy.get_include()])
13-
setup(ext_modules=cythonize([package]))
13+
setup(ext_modules=cythonize([package], language_level='3str'))

0 commit comments

Comments
 (0)