Skip to content

Commit 98602f5

Browse files
Update pypi description to reflect that our manylinux1 wheel does not conform
to PEP531. Fix #8802 Change: 152066556
1 parent 6a5b37e commit 98602f5

1 file changed

Lines changed: 14 additions & 11 deletions

File tree

‎tensorflow/tools/pip_package/setup.py‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,15 @@ def find_files(pattern, root):
167167
list(find_files('*', 'third_party/eigen3')) +
168168
list(find_files('*', 'external/eigen_archive')))
169169

170+
tf_long_description = (
171+
'Note: TensorFlow manylinux1 wheels do not conform to the '
172+
'specification in PEP531.')
170173

171174
setup(
172175
name=project_name,
173176
version=_VERSION.replace('-', ''),
174177
description='TensorFlow helps the tensors flow',
175-
long_description='',
178+
long_description=tf_long_description,
176179
url='http://tensorflow.org/',
177180
author='Google Inc.',
178181
author_email='[email protected]',
@@ -187,13 +190,14 @@ def find_files(pattern, root):
187190
# Add in any packaged data.
188191
include_package_data=True,
189192
package_data={
190-
'tensorflow': [EXTENSION_NAME,
191-
'tensorboard/dist/bazel-html-imports.html',
192-
'tensorboard/dist/index.html',
193-
'tensorboard/dist/tf-tensorboard.html',
194-
'tensorboard/lib/css/global.css',
195-
'tensorboard/TAG',
196-
] + matches,
193+
'tensorflow': [
194+
EXTENSION_NAME,
195+
'tensorboard/dist/bazel-html-imports.html',
196+
'tensorboard/dist/index.html',
197+
'tensorboard/dist/tf-tensorboard.html',
198+
'tensorboard/lib/css/global.css',
199+
'tensorboard/TAG',
200+
] + matches,
197201
},
198202
zip_safe=False,
199203
distclass=BinaryDistribution,
@@ -212,7 +216,6 @@ def find_files(pattern, root):
212216
'Topic :: Scientific/Engineering :: Mathematics',
213217
'Topic :: Software Development :: Libraries :: Python Modules',
214218
'Topic :: Software Development :: Libraries',
215-
],
219+
],
216220
license='Apache 2.0',
217-
keywords='tensorflow tensor machine learning',
218-
)
221+
keywords='tensorflow tensor machine learning',)

0 commit comments

Comments
 (0)