nni/setup.py

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

2018-09-07 13:21:46 +03:00
# Copyright (c) Microsoft Corporation. All rights reserved.
#
# MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
# associated documentation files (the "Software"), to deal in the Software without restriction,
# including without limitation the rights to use, copy, modify, merge, publish, distribute,
# sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or
# substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
# NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
# OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# ==================================================================================================
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname), encoding='utf-8').read()
2018-09-07 13:21:46 +03:00
setup(
2018-11-02 06:50:02 +03:00
name = 'nni',
2018-12-26 05:55:23 +03:00
version = '999.0.0-developing',
2018-09-07 13:21:46 +03:00
author = 'Microsoft NNI Team',
author_email = 'nni@microsoft.com',
description = 'Neural Network Intelligence project',
long_description = read('README.md'),
2018-09-07 13:21:46 +03:00
license = 'MIT',
2018-09-10 06:31:54 +03:00
url = 'https://github.com/Microsoft/nni',
2018-09-07 13:21:46 +03:00
packages = find_packages('src/sdk/pynni', exclude=['tests']) + find_packages('tools'),
package_dir = {
'nni': 'src/sdk/pynni/nni',
2018-11-05 06:06:22 +03:00
'nni_annotation': 'tools/nni_annotation',
'nni_cmd': 'tools/nni_cmd',
'nni_trial_tool':'tools/nni_trial_tool',
'nni_gpu_tool':'tools/nni_gpu_tool'
2018-09-07 13:21:46 +03:00
},
package_data = {'nni': ['**/requirements.txt']},
2018-09-07 13:21:46 +03:00
python_requires = '>=3.5',
install_requires = [
'astor',
'hyperopt',
2018-09-07 13:21:46 +03:00
'json_tricks',
'numpy',
'psutil',
'ruamel.yaml',
2018-09-07 13:21:46 +03:00
'requests',
'scipy',
'schema',
'PythonWebHDFS',
'colorama'
2018-09-07 13:21:46 +03:00
],
entry_points = {
'console_scripts' : [
'nnictl = nni_cmd.nnictl:parse_args'
]
2018-09-07 13:21:46 +03:00
}
)