forked from DataXujing/plotbox2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (51 loc) · 1.76 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import codecs
import os
import sys
try:
from setuptools import setup
except:
from distutils.core import setup
def read(fname):
return codecs.open(os.path.join(os.path.dirname(__file__), fname),encoding='utf-8').read()
long_des = read("README.rst")
platforms = ['Windows']
classifiers = [
'Development Status :: 3 - Alpha',
'Topic :: Text Processing',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
]
install_requires = [
"opencv-python",
"pillow",
"numpy"
]
setup(name='plotbox2',
version='0.1.0',
description='Plot Bounding Box in CV object detection.',
long_description=long_des,
py_modules=['plotbox2'],
author = "DataXujing",
author_email = "[email protected]" ,
url = "https://github.com/DataXujing/plotbox2" ,
license="Apache License, Version 2.0",
platforms=platforms,
classifiers=classifiers,
install_requires=install_requires,
# include_package_data=True,
# package_data={
# 'plotbox': ['font/*.ttf'],
# 'plotbox': ['font/*.TTF'],
# 'plotbox': ['font/*.ttc'],}
data_files=[
('Lib/site-packages/plotbox/font', ['font/AvantGarGotItcTEE.ttf']),
('Lib/site-packages/plotbox/font', ['font/Futura Lt BT.ttf']),
('Lib/site-packages/plotbox/font', ['font/HomeStoreRegular.ttf']),
('Lib/site-packages/plotbox/font', ['font/kaitiGB2312.ttf']),
('Lib/site-packages/plotbox/font', ['font/Microsoft-Yahei-UI-Light.ttc']),
('Lib/site-packages/plotbox/font', ['font/youyuan.TTF'])
]
)