forked from tf-coreml/tf-coreml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (53 loc) · 2.02 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
56
57
58
59
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
README = os.path.join(os.getcwd(), "README.rst")
with open(README) as f:
_LONG_DESCRIPTION= f.read()
setup(
name='tfcoreml',
version='2.0',
description='TensorFlow to Core ML converter',
long_description=_LONG_DESCRIPTION,
url='https://github.com/tf-coreml/tf-coreml',
author='tfcoreml',
author_email='tf-coreml@apple.com',
license='Apache 2.0',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
],
keywords='Converter TensorFlow Core ML',
packages=find_packages(),
install_requires=[
'numpy >= 1.6.2',
'protobuf >= 3.1.0',
'six >= 1.10.0',
'tensorflow>= 1.5.0,<=1.14',
'coremltools >= 0.8'
],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
package_data={
'': ['README.md'],
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
},
)