-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·34 lines (32 loc) · 1.12 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-RDD_2018',
version='0.5.0',
description='Keras implementation of RetinaNet object detection.',
url='https://github.com/fizyr/keras-RDD_2018',
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', 'progressbar2'],
entry_points={
'console_scripts': [
'RDD_2018-train=keras_retinanet.bin.train:main',
'RDD_2018-evaluate=keras_retinanet.bin.evaluate:main',
'RDD_2018-debug=keras_retinanet.bin.debug:main',
'RDD_2018-convert-model=keras_retinanet.bin.convert_model:main',
],
},
ext_modules=extensions,
setup_requires=["cython>=0.28"]
)