Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
e9d9732e
Commit
e9d9732e
authored
Nov 30, 2018
by
Adam Procter
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into r0.10
parents
88986560
281c8ea1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
18 deletions
+23
-18
notifications.txt
licenses/notifications.txt
+5
-0
setup.py
python/setup.py
+18
-18
No files found.
licenses/notifications.txt
0 → 100644
View file @
e9d9732e
The MPL 2.0 license used by the eigen library used by this ngraph core
component requires distribution of the following information:
Eigen source code can be viewed or downloaded from here:
http://eigen.tuxfamily.org
python/setup.py
View file @
e9d9732e
...
...
@@ -22,7 +22,7 @@ import os
import
distutils.ccompiler
__version__
=
os
.
environ
.
get
(
'NGRAPH_VERSION'
,
'0.0.0-dev'
)
PYNGRAPH_
SOURCE
_DIR
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
PYNGRAPH_
ROOT
_DIR
=
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
))
NGRAPH_DEFAULT_INSTALL_DIR
=
os
.
environ
.
get
(
'HOME'
)
NGRAPH_ONNX_IMPORT_ENABLE
=
os
.
environ
.
get
(
'NGRAPH_ONNX_IMPORT_ENABLE'
)
...
...
@@ -50,7 +50,7 @@ def find_pybind_headers_dir():
if
os
.
environ
.
get
(
'PYBIND_HEADERS_PATH'
):
pybind_headers_dir
=
os
.
environ
.
get
(
'PYBIND_HEADERS_PATH'
)
else
:
pybind_headers_dir
=
os
.
path
.
join
(
PYNGRAPH_
SOURCE
_DIR
,
'pybind11'
)
pybind_headers_dir
=
os
.
path
.
join
(
PYNGRAPH_
ROOT
_DIR
,
'pybind11'
)
found
=
os
.
path
.
exists
(
os
.
path
.
join
(
pybind_headers_dir
,
'include/pybind11'
))
if
not
found
:
...
...
@@ -233,13 +233,13 @@ sources = [
]
package_dir
=
{
'ngraph'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph"
,
'ngraph.utils'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/utils"
,
'ngraph.impl'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/impl"
,
'ngraph.impl.op'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/impl/op"
,
'ngraph.impl.op.util'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/impl/op/util"
,
'ngraph.impl.passes'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/impl/passes"
,
'ngraph.impl.runtime'
:
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/impl/runtime"
,
'ngraph'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph"
,
'ngraph.utils'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/utils"
,
'ngraph.impl'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/impl"
,
'ngraph.impl.op'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/impl/op"
,
'ngraph.impl.op.util'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/impl/op/util"
,
'ngraph.impl.passes'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/impl/passes"
,
'ngraph.impl.runtime'
:
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/impl/runtime"
,
}
packages
=
[
'ngraph'
,
...
...
@@ -251,9 +251,9 @@ packages = [
'ngraph.impl.runtime'
,
]
sources
=
[
PYNGRAPH_
SOURCE
_DIR
+
"/"
+
source
for
source
in
sources
]
sources
=
[
PYNGRAPH_
ROOT
_DIR
+
"/"
+
source
for
source
in
sources
]
include_dirs
=
[
PYNGRAPH_
SOURCE
_DIR
,
NGRAPH_CPP_INCLUDE_DIR
,
PYBIND11_INCLUDE_DIR
]
include_dirs
=
[
PYNGRAPH_
ROOT
_DIR
,
NGRAPH_CPP_INCLUDE_DIR
,
PYBIND11_INCLUDE_DIR
]
library_dirs
=
[
NGRAPH_CPP_LIBRARY_DIR
]
...
...
@@ -274,13 +274,13 @@ data_files = [
(
'licenses'
,
[
PYNGRAPH_
SOURCE
_DIR
+
"/../licenses/"
+
license
for
license
in
os
.
listdir
(
PYNGRAPH_
SOURCE
_DIR
+
"/../licenses"
)
PYNGRAPH_
ROOT
_DIR
+
"/../licenses/"
+
license
for
license
in
os
.
listdir
(
PYNGRAPH_
ROOT
_DIR
+
"/../licenses"
)
],
),
(
''
,
[
PYNGRAPH_
SOURCE
_DIR
+
"/../LICENSE"
],
[
PYNGRAPH_
ROOT
_DIR
+
"/../LICENSE"
],
)
]
...
...
@@ -302,10 +302,10 @@ if NGRAPH_ONNX_IMPORT_ENABLE == 'TRUE':
'pyngraph/pyngraph_onnx_import.cpp'
,
'pyngraph/onnx_import/onnx_import.cpp'
,
]
onnx_sources
=
[
PYNGRAPH_
SOURCE
_DIR
+
"/"
+
source
for
source
in
onnx_sources
]
onnx_sources
=
[
PYNGRAPH_
ROOT
_DIR
+
"/"
+
source
for
source
in
onnx_sources
]
package_dir
[
'ngraph.impl.onnx_import'
]
=
(
PYNGRAPH_
SOURCE
_DIR
+
"/ngraph/impl/onnx_import"
PYNGRAPH_
ROOT
_DIR
+
"/ngraph/impl/onnx_import"
)
packages
.
append
(
'ngraph.impl.onnx_import'
)
...
...
@@ -360,17 +360,17 @@ class BuildExt(build_ext):
build_ext
.
build_extensions
(
self
)
with
open
(
os
.
path
.
join
(
PYNGRAPH_
SOURCE
_DIR
,
'requirements.txt'
))
as
req
:
with
open
(
os
.
path
.
join
(
PYNGRAPH_
ROOT
_DIR
,
'requirements.txt'
))
as
req
:
requirements
=
req
.
read
()
.
splitlines
()
setup
(
name
=
'ngraph-core'
,
description
=
open
(
os
.
path
.
join
(
PYNGRAPH_ROOT_DIR
,
'README.md'
))
.
read
(),
version
=
__version__
,
author
=
'Intel'
,
author_email
=
'intelnervana@intel.com'
,
url
=
'https://ai.intel.com/'
,
license
=
'License :: OSI Approved :: Apache Software License'
,
description
=
'Python API for nGraph'
,
long_description
=
''
,
ext_modules
=
ext_modules
,
package_dir
=
package_dir
,
...
...
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