Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
85d936d1
Unverified
Commit
85d936d1
authored
Feb 14, 2019
by
SparkSnail
Committed by
GitHub
Feb 14, 2019
Browse files
Fix pypi package (#727)
* add nni_gpu_tool in setup.py * add exclude=['test'] in setup.py
parent
6f3a90eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
deployment/pypi/setup.py
deployment/pypi/setup.py
+2
-1
setup.py
setup.py
+2
-1
No files found.
deployment/pypi/setup.py
View file @
85d936d1
...
@@ -48,11 +48,12 @@ setuptools.setup(
...
@@ -48,11 +48,12 @@ setuptools.setup(
long_description_content_type
=
'text/markdown'
,
long_description_content_type
=
'text/markdown'
,
license
=
'MIT'
,
license
=
'MIT'
,
url
=
'https://github.com/Microsoft/nni'
,
url
=
'https://github.com/Microsoft/nni'
,
packages
=
setuptools
.
find_packages
(
'../../tools'
)
+
setuptools
.
find_packages
(
'../../src/sdk/pynni'
)
packages
=
setuptools
.
find_packages
(
'../../tools'
)
+
setuptools
.
find_packages
(
'../../src/sdk/pynni'
,
exclude
=
[
'tests'
]),
package_dir
=
{
package_dir
=
{
'nni_annotation'
:
'../../tools/nni_annotation'
,
'nni_annotation'
:
'../../tools/nni_annotation'
,
'nni_cmd'
:
'../../tools/nni_cmd'
,
'nni_cmd'
:
'../../tools/nni_cmd'
,
'nni_trial_tool'
:
'../../tools/nni_trial_tool'
,
'nni_trial_tool'
:
'../../tools/nni_trial_tool'
,
'nni_gpu_tool'
:
'../../tools/nni_gpu_tool'
,
'nni'
:
'../../src/sdk/pynni/nni'
'nni'
:
'../../src/sdk/pynni/nni'
},
},
python_requires
=
'>=3.5'
,
python_requires
=
'>=3.5'
,
...
...
setup.py
View file @
85d936d1
...
@@ -48,7 +48,8 @@ setup(
...
@@ -48,7 +48,8 @@ setup(
'nni'
:
'src/sdk/pynni/nni'
,
'nni'
:
'src/sdk/pynni/nni'
,
'nni_annotation'
:
'tools/nni_annotation'
,
'nni_annotation'
:
'tools/nni_annotation'
,
'nni_cmd'
:
'tools/nni_cmd'
,
'nni_cmd'
:
'tools/nni_cmd'
,
'nni_trial_tool'
:
'tools/nni_trial_tool'
'nni_trial_tool'
:
'tools/nni_trial_tool'
,
'nni_gpu_tool'
:
'tools/nni_gpu_tool'
},
},
package_data
=
{
'nni'
:
[
'**/requirements.txt'
]},
package_data
=
{
'nni'
:
[
'**/requirements.txt'
]},
python_requires
=
'>=3.5'
,
python_requires
=
'>=3.5'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment