Cognitive-Face-Python/setup.py

42 строки
1.1 KiB
Python
Исходник Обычный вид История

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.
"""
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."""
return io.open(README, encoding='utf-8').read()
2016-08-21 08:45:05 +03:00
setup(
name='cognitive_face',
version='1.4.2',
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=[
'Development Status :: 5 - Production/Stable',
2016-08-21 08:45:05 +03:00
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'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',
tests_require=['nose'])