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):
|
2018-09-13 15:32:55 +03:00
|
|
|
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',
|
2018-09-13 15:32:55 +03:00
|
|
|
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',
|
2019-02-14 10:30:50 +03:00
|
|
|
'nni_trial_tool':'tools/nni_trial_tool',
|
|
|
|
'nni_gpu_tool':'tools/nni_gpu_tool'
|
2018-09-07 13:21:46 +03:00
|
|
|
},
|
2018-09-27 14:09:27 +03:00
|
|
|
package_data = {'nni': ['**/requirements.txt']},
|
2018-09-07 13:21:46 +03:00
|
|
|
python_requires = '>=3.5',
|
|
|
|
install_requires = [
|
|
|
|
'astor',
|
2018-09-13 15:32:55 +03:00
|
|
|
'hyperopt',
|
2018-09-07 13:21:46 +03:00
|
|
|
'json_tricks',
|
|
|
|
'numpy',
|
|
|
|
'psutil',
|
2019-04-19 09:15:25 +03:00
|
|
|
'ruamel.yaml',
|
2018-09-07 13:21:46 +03:00
|
|
|
'requests',
|
2018-09-14 10:00:51 +03:00
|
|
|
'scipy',
|
2018-09-27 12:12:55 +03:00
|
|
|
'schema',
|
2019-04-22 05:18:25 +03:00
|
|
|
'PythonWebHDFS',
|
|
|
|
'colorama'
|
2018-09-07 13:21:46 +03:00
|
|
|
],
|
|
|
|
|
2019-03-12 11:09:16 +03:00
|
|
|
entry_points = {
|
|
|
|
'console_scripts' : [
|
|
|
|
'nnictl = nni_cmd.nnictl:parse_args'
|
|
|
|
]
|
2018-09-07 13:21:46 +03:00
|
|
|
}
|
|
|
|
)
|