forked from agschwender/pilbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (48 loc) · 1.58 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
import os.path
from setuptools import setup, Command
with open('README.rst') as f:
readme = f.read()
class PilboxTest(Command):
user_options=[]
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys,subprocess
errno = subprocess.call(
[sys.executable, os.path.join('pilbox', 'test', 'runtests.py')])
raise SystemExit(errno)
setup(name='pilbox',
version='1.3.4',
description='Pilbox is an image processing application server built on the Tornado web framework using the Pillow Imaging Library',
long_description=readme,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
url='https://github.com/agschwender/pilbox',
author='Adam Gschwender',
author_email='[email protected]',
license='http://www.apache.org/licenses/LICENSE-2.0',
include_package_data=True,
packages=['pilbox'],
package_data={
'pilbox': ['frontalface.xml'],
},
install_requires=[
'tornado==5.1.0',
'Pillow==5.2.0',
'sphinx-me==0.2.1',
],
extras_require = {
'Proxy': ['pycurl'],
'Facial Recognition': ['cv']
},
zip_safe=True,
cmdclass={'test': PilboxTest},
entry_points = {'console_scripts': ['pilbox = pilbox.app:main']}
)