forked from fizyr/keras-retinanet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (32 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import setuptools
from setuptools.extension import Extension
import numpy as np
extensions = [
Extension(
'keras_retinanet.utils.compute_overlap',
['keras_retinanet/utils/compute_overlap.pyx'],
include_dirs=[np.get_include()]
),
]
setuptools.setup(
name = 'keras-retinanet',
version = '0.4.1',
description = 'Keras implementation of RetinaNet object detection.',
url = 'https://github.com/fizyr/keras-retinanet',
author = 'Hans Gaiser',
author_email = '[email protected]',
maintainer = 'Hans Gaiser',
maintainer_email = '[email protected]',
packages = setuptools.find_packages(),
install_requires = ['keras', 'keras-resnet', 'six', 'scipy', 'cython', 'Pillow', 'opencv-python'],
entry_points = {
'console_scripts': [
'retinanet-train=keras_retinanet.bin.train:main',
'retinanet-evaluate=keras_retinanet.bin.evaluate:main',
'retinanet-debug=keras_retinanet.bin.debug:main',
'retinanet-convert-model=keras_retinanet.bin.convert_model:main',
],
},
ext_modules = extensions,
setup_requires = ["cython>=0.28"]
)