forked from leophys/SplitByColor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 1.01 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
import os
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as buf:
return buf.read()
conf = dict(
name='colorcut',
version='0.1',
description='Detect colored points and cut images',
long_description=read('README.md'),
author='insomnialab',
author_email='[email protected]',
url='https://github.com/insomnia-lab/SplitByColor',
license='AGPL',
packages=['colorcut'],
install_requires=[
'numpy'
],
zip_safe=True,
entry_points={'console_scripts': [
'colordetect=colorcut.cdect:main',
'imagecut=colorcut.cut:main'
]},
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Development Status :: 4 - Beta"
])
if __name__ == '__main__':
setup(**conf)