I am working on creating a Python project which includes the BeautifulSoup module. As part of this, I require the ability to parse XML, and as a dependency on that, I require that the lxml module is installed.
I am attempting to build a PEX file with Pants, and I am seeing that I am unable to resolve the package for lxml, which is required for BeautifulSoup to parse XML.
I am seeing the following error:
Exception message: Could not get distribution for
SourcePackage(u'file:///Users/x/.pants.d/python-setup/resolved_requirements/CPython-2.7.10/lxml-3.5.0.tar.gz') on platform linux-x86_64.
Can I manipulate something in my pants.ini
file to pull in this particular library?