Skip to content

Commit

Permalink
Add tensorflow dependency example to superhello; this puts ./pants bi…
Browse files Browse the repository at this point in the history
…nary on main:main in a good state for a workable demo
  • Loading branch information
Chris Livingston committed Jan 30, 2018
1 parent 74bfb8c commit 83be228
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 22 deletions.
1 change: 1 addition & 0 deletions 3rdparty/python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ setuptools==30.0.0
subprocess32==3.2.7
six>=1.9.0,<2
thrift>=0.9.1
tensorflow==1.4.0
wheel==0.29.0
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@
# only be a single BUILD file in a given directory.

python_distribution(
name='superhello'
name='superhello',
dependencies=[
'3rdparty/python:tensorflow'
]
)
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
unicode_literals, with_statement)

import super_greet
import tensorflow

def hello():
print(tensorflow)
print(super_greet.super_greet())

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 83be228

Please sign in to comment.