stale-artist-91164
03/18/2019, 8:57 PM[GLOBAL]
pants_version: 1.9.0
[python-setup]
interpreter_constraints: ["CPython>=3.5"]
plugins: [
'pantsbuild.pants.contrib.awslambda-python==%(pants_version)s'
]
hundreds-father-404
03/18/2019, 8:58 PMstale-artist-91164
03/18/2019, 9:00 PMstale-artist-91164
03/18/2019, 9:01 PMstale-artist-91164
03/18/2019, 9:02 PMpython_requirements()
python_library(
name='county-records-finder-lib',
sources=rglobs('*.py'),
dependencies = [
':requests',
':beautifulsoup4',
':nameparser',
':google-cloud-storage',
':google-cloud-translate',
':google-cloud-vision',
':python-dateutil',
'src/python/lib:lib'
]
)
python_binary(
name='county-records-finder-bin',
dependencies = [
'src/python/rei_countyrecordsfinder:county-records-finder-lib',
],
source='main.py'
)
python_binary(
name='county-records-finder-empty-bin',
source='main.py'
)
python_awslambda(
name='county-records-finder-app',
binary=':county-records-finder-bin'
)
stale-artist-91164
03/18/2019, 9:02 PM[GLOBAL]
pants_version: 1.15.0.dev4
[python-setup]
interpreter_constraints: ["CPython>=3.5"]
plugins: [
'pantsbuild.pants.contrib.awslambda-python==%(pants_version)s'
]
hundreds-father-404
03/18/2019, 9:05 PM./pants -V
and confirm it prints 1.15.0.dev4 pleasehundreds-father-404
03/18/2019, 9:05 PMstale-artist-91164
03/18/2019, 9:05 PMstale-artist-91164
03/18/2019, 9:05 PMhundreds-father-404
03/18/2019, 9:07 PM[python-setup]
section of your pants.ini
instead of [GLOBAL]
. Try moving those 3 lines up to the [GLOBAL]
section and run ./pants
againstale-artist-91164
03/18/2019, 9:08 PMstale-artist-91164
03/18/2019, 9:25 PMstale-artist-91164
03/18/2019, 9:30 PM