Commit d7bc2202 authored by Zhenyu Tan's avatar Zhenyu Tan Committed by A. Unique TensorFlower
Browse files

Fix to setup.py for finding requirements.txt

PiperOrigin-RevId: 331880062
parent 34db82bf
...@@ -27,7 +27,7 @@ def _get_requirements(): ...@@ -27,7 +27,7 @@ def _get_requirements():
install_requires_tmp = [] install_requires_tmp = []
dependency_links_tmp = [] dependency_links_tmp = []
with open( with open(
os.path.join(os.path.dirname(__file__), '../requirements.txt'), 'r') as f: os.path.join(os.path.dirname(__file__), './requirements.txt'), 'r') as f:
for line in f: for line in f:
package_name = line.strip() package_name = line.strip()
# Skip empty line or comments starting with "#". # Skip empty line or comments starting with "#".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment