Skip to content

Commit

Permalink
Merge pull request #208 from warsaw/placeholders
Browse files Browse the repository at this point in the history
Add two more items to the substitution map
  • Loading branch information
warsaw authored Mar 23, 2018
2 parents 6e5c309 + ce348ed commit a8d8438
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ public void buildEntryPoints() throws Exception {
propertyMap.putAll(extraProperties);
propertyMap.put("realPex", PexFileUtil.createThinPexFilename(project.getName()));
propertyMap.put("entryPoint", entry);
propertyMap.put("pythonExecutable", extension.getDetails().getSystemPythonInterpreter().getAbsolutePath());
propertyMap.put("toolName", project.getName());

DefaultTemplateProviderOptions providerOptions = new DefaultTemplateProviderOptions(project, extension, entry);
new EntryPointWriter(project, templateProvider.retrieveTemplate(providerOptions))
Expand Down

0 comments on commit a8d8438

Please sign in to comment.