2016-08-21 08:45:05 +03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
|
|
File: setup.py
|
|
|
|
Description: Setup script to build and distribute cognitive_face module.
|
|
|
|
"""
|
2016-08-26 04:52:32 +03:00
|
|
|
|
|
|
|
import io
|
|
|
|
|
2016-08-21 08:45:05 +03:00
|
|
|
from setuptools import find_packages
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
README = 'README.md'
|
|
|
|
|
|
|
|
|
|
|
|
def readme():
|
|
|
|
"""Parse README for long_description."""
|
2016-08-26 04:52:32 +03:00
|
|
|
return io.open(README, encoding='utf-8').read()
|
2016-08-21 08:45:05 +03:00
|
|
|
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='cognitive_face',
|
2019-05-07 09:51:21 +03:00
|
|
|
version='1.5.0',
|
2016-08-21 08:45:05 +03:00
|
|
|
packages=find_packages(exclude=['tests']),
|
|
|
|
install_requires=['requests'],
|
|
|
|
author='Microsoft',
|
|
|
|
description='Python SDK for the Cognitive Face API',
|
|
|
|
long_description=readme(),
|
2018-10-17 22:28:20 +03:00
|
|
|
long_description_content_type='text/markdown',
|
2016-08-21 08:45:05 +03:00
|
|
|
license='MIT',
|
|
|
|
url='https://github.com/Microsoft/Cognitive-Face-Python',
|
|
|
|
classifiers=[
|
2016-09-12 06:49:30 +03:00
|
|
|
'Development Status :: 5 - Production/Stable',
|
2016-08-21 08:45:05 +03:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
2016-09-12 06:49:30 +03:00
|
|
|
'Programming Language :: Python :: 2.7',
|
2016-08-21 08:45:05 +03:00
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Topic :: Scientific/Engineering :: Image Recognition',
|
|
|
|
],
|
|
|
|
test_suite='nose.collector',
|
2017-09-19 11:58:02 +03:00
|
|
|
tests_require=['nose'])
|