Skip to content

Commit bc7628b

Browse files
committed
Fix numpy compilation
1 parent b8b74ab commit bc7628b

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ include README.md
22
include requirements.txt
33
include requirements_coco.txt
44
include LICENSE
5+
include superannotate/pycocotools_sa/maskApi.h

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ source venv_sa_conv/bin/activate
1313

1414
pip install -r requirements.txt
1515

16-
# pip install -e .
17-
pip install --pre superannotate
16+
pip install -e .
17+
# pip install --pre superannotate
1818

1919
# for testing
2020
pip install pytest pytest-xdist coverage pytest-cov pylint pylint-json2html pylint-pytest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22

3-
requires = ["Cython", "numpy", "setuptools", "wheel"]
3+
requires = ["Cython", "numpy==1.19.0", "setuptools", "wheel"]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requests>=2.23.0
44
requests-toolbelt>=0.9.1
55
tqdm>=4.48.2
66
pillow>=7.2.0
7-
numpy>=1.18.0
7+
numpy>=1.19.0
88
matplotlib>=3.3.1
99
xmltodict>=0.12.0
1010
opencv-python>=4.4.0.42

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import numpy as np
2-
from Cython.Build import cythonize
32
from setuptools import Extension, find_packages, setup
43

54
with open('requirements.txt') as f:
@@ -48,5 +47,5 @@
4847
'console_scripts': ['superannotatecli = superannotate.__main__:main']
4948
},
5049
python_requires='>=3.6',
51-
ext_modules=cythonize(ext_modules)
50+
ext_modules=ext_modules
5251
)

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.5.0b11"
1+
__version__ = "2.5.0"

0 commit comments

Comments
 (0)