Skip to content

Commit

Permalink
Remove tensorflow-macos from setup.py
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 615232009
  • Loading branch information
rtg0795 authored and tf-text-github-robot committed Mar 13, 2024
1 parent 9aaf8ac commit f0f675c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions oss_scripts/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,12 @@ def finalize_options(self):
distclass=BinaryDistribution,
install_requires=[
(
'tensorflow>=2.15.0, <2.16; platform_machine != "arm64" or'
' platform_system != "Darwin"'
),
(
'tensorflow-macos>=2.15.0, <2.16; platform_machine == "arm64" and'
' platform_system == "Darwin"'
'tensorflow>=2.16.1, <2.17',
),
],
extras_require={
'tensorflow_cpu': [
'tensorflow-cpu>=2.15.0, <2.16',
'tensorflow-cpu>=2.16.1, <2.17',
],
'tests': [
'absl-py',
Expand Down

0 comments on commit f0f675c

Please sign in to comment.