forked from agschwender/pilbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (45 loc) · 1.44 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
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='2.1.3',
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 :: 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==4.5.1',
'Pillow==2.9.0',
'muselog>=1.8.4'
],
extras_require = {
'Proxy': ['pycurl'],
'Facial Recognition': ['cv']
},
zip_safe=True,
cmdclass={'test': PilboxTest},
entry_points = {'console_scripts': ['pilbox = pilbox.app:main']}
)