brave-policeman-49804
04/16/2019, 3:50 PMgentle-wolf-58752
04/16/2019, 3:54 PMbrave-policeman-49804
04/16/2019, 4:05 PMbrave-policeman-49804
04/16/2019, 4:19 PMpython_requirements(requirements_relpath="requirements.txt")
in the build filebrave-policeman-49804
04/16/2019, 4:25 PM./pants run module:task
it will run this task too right?gentle-wolf-58752
04/16/2019, 4:34 PM3rdparty
dir, or in the same dir as the module?faint-holiday-82821
04/16/2019, 5:45 PMpython_library(
name='starsky_utils',
dependencies=[
'3rdparty/python:pypika',
'3rdparty/python:pytz',
'3rdparty/python:arrow',
'3rdparty/python:bravado',
'3rdparty/python:pandas',
'3rdparty/python:boto3',
'3rdparty/python:psycopg2-binary',
'3rdparty/python:click',
'3rdparty/python:es-connector',
],
sources=globs('**/*.py'),
)
happy-kitchen-89482
04/16/2019, 6:46 PM3rdparty/python/BUILD
contain just the stanza python_requirements()
, which is shorthand for "create targets for every requirement listed in the requirements.txt
in this directory."happy-kitchen-89482
04/16/2019, 6:46 PMfaint-holiday-82821
04/16/2019, 7:10 PM# Change the requirements.txt file to update python requirements.
python_requirements()
brave-policeman-49804
04/17/2019, 11:00 AM