forked from WisconsinAIVision/yolact_edge
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
20 lines (17 loc) · 655 Bytes
/
Copy pathsetup.py
File metadata and controls
20 lines (17 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
from setuptools import setup, find_packages
cmdclass = {}
cmdclass.update({'build_ext': build_ext})
ext_modules = [Extension("cython_nms", ["yolact_edge/utils/cython_nms.pyx"])]
for e in ext_modules:
e.cython_directives = {'language_level': "3"}
setup(name='yolact_edge',
version='0.0.1',
package_dir={'yolact_edge': 'yolact_edge'},
packages=find_packages(exclude=('data','calib_images','results')) + ['yolact_edge'],
include_package_data=True,
cmdclass=cmdclass,
ext_modules=ext_modules,
)