2017-05-03 18:31:18 +08:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
|
|
with open('README.rst') as readme_file:
|
|
|
|
|
readme = readme_file.read()
|
|
|
|
|
|
|
|
|
|
with open('HISTORY.rst') as history_file:
|
|
|
|
|
history = history_file.read()
|
|
|
|
|
|
|
|
|
|
requirements = [
|
|
|
|
|
# TODO: put package requirements here
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
test_requirements = [
|
|
|
|
|
'qt',
|
|
|
|
|
'qt4',
|
|
|
|
|
'libxml2'
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
|
name='labelImg',
|
2017-07-21 18:01:53 +08:00
|
|
|
version='1.4.0',
|
2017-05-03 18:31:18 +08:00
|
|
|
description="LabelImg is a graphical image annotation tool and label object bounding boxes in images",
|
|
|
|
|
long_description=readme + '\n\n' + history,
|
|
|
|
|
author="TzuTa Lin",
|
|
|
|
|
author_email='tzu.ta.lin@gmail.com',
|
|
|
|
|
url='https://github.com/tzutalin/labelImg',
|
|
|
|
|
packages=[
|
2017-05-03 20:03:14 +08:00
|
|
|
'labelImg', 'labelImg.libs'
|
2017-05-03 18:31:18 +08:00
|
|
|
],
|
2017-05-03 20:03:14 +08:00
|
|
|
package_dir={'labelImg': '.'},
|
2017-05-03 18:31:18 +08:00
|
|
|
entry_points={
|
|
|
|
|
'console_scripts': [
|
|
|
|
|
'labelImg=labelImg.labelImg:main'
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
include_package_data=True,
|
|
|
|
|
install_requires=requirements,
|
|
|
|
|
license="MIT license",
|
|
|
|
|
zip_safe=False,
|
|
|
|
|
keywords='labelImg',
|
|
|
|
|
classifiers=[
|
|
|
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
|
'Natural Language :: English',
|
|
|
|
|
"Programming Language :: Python :: 2",
|
|
|
|
|
'Programming Language :: Python :: 2.6',
|
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
|
'Programming Language :: Python :: 3.3',
|
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
|
],
|
|
|
|
|
test_suite='tests',
|
|
|
|
|
tests_require=test_requirements
|
|
|
|
|
)
|