happy-kitchen-89482
01/10/2017, 12:25 AMhappy-kitchen-89482
01/10/2017, 12:25 AMfull-kilobyte-93429
01/10/2017, 12:36 AMhappy-kitchen-89482
01/10/2017, 12:37 AMantlr_version=
on any of your python_antlr_library targets?happy-kitchen-89482
01/10/2017, 12:37 AMfull-kilobyte-93429
01/10/2017, 12:41 AMpython_antlr_library
, and that doesn't set antlr_version
happy-kitchen-89482
01/10/2017, 12:41 AMfull-kilobyte-93429
01/10/2017, 12:42 AMjava_antlr_library
, which uses both antlr4
and antlr3
but that's not what you are asking forhappy-kitchen-89482
01/10/2017, 12:44 AMhappy-kitchen-89482
01/10/2017, 12:44 AMhappy-kitchen-89482
01/10/2017, 12:44 AMmodule=
?full-kilobyte-93429
01/10/2017, 12:46 AMpython_antlr_library(
module = 'antlrgen.twitter.thrift.descriptors',
sources = globs('*.g'),
dependencies = [
...
)
happy-kitchen-89482
01/10/2017, 1:02 AMhappy-kitchen-89482
01/10/2017, 1:02 AM.g
files and see what the python directives are at the top of the file?full-kilobyte-93429
01/10/2017, 1:36 AM@
?, saw python code inside @header
@init
@members
@after
@rulecatch
happy-kitchen-89482
01/10/2017, 1:37 AMfull-kilobyte-93429
01/10/2017, 1:41 AMfull-kilobyte-93429
01/10/2017, 1:42 AMnamespace
not sure if that's what you are looking forhappy-kitchen-89482
01/10/2017, 2:12 AMlimited-country-20626
01/10/2017, 4:29 PMclean-fish-15260
01/10/2017, 8:07 PMclean-fish-15260
01/10/2017, 8:07 PMclean-fish-15260
01/10/2017, 8:08 PMwitty-crayon-22786
01/10/2017, 8:10 PMwitty-crayon-22786
01/10/2017, 8:11 PM$ ./pants options | grep zinc
witty-crayon-22786
01/10/2017, 8:11 PMclean-fish-15260
01/10/2017, 8:16 PMclean-fish-15260
01/10/2017, 8:26 PMclean-fish-15260
01/10/2017, 8:26 PMfull-kilobyte-93429
01/10/2017, 8:40 PMstrict_deps
? https://github.com/pantsbuild/pants/pull/4171 helps if strict_deps
is enabled