PYNQ: PYTHON PRODUCTIVITY

Error when building pynq2.5.4 image - ...python3 setup.py sdist

Hi,

When I was trying to build the PYNQ 2.5.4 image for the Zedboard, with prebuilt image * PYNQ rootfs arm v2. 5 , the following error occurs…

I am using Ubuntu16.04.4, Vivado/SDK/SDx/Petalinux 2019.1

… anyone would know why… is it a host related issue or something changed in the upstream

make[1]: Entering directory ‘/home/yz87/PYNQ/sdbuild/build/PYNQ/boards/sw_repo’
rm -rf bsp_*
rm -rf hw_*
rm -rf .Xil .metadata SDK.log
make[1]: Leaving directory ‘/home/yz87/PYNQ/sdbuild/build/PYNQ/boards/sw_repo’

  • cd /home/yz87/PYNQ/sdbuild/build/PYNQ
  • python3 setup.py sdist
    Traceback (most recent call last):
    File “setup.py”, line 34, in
    from setuptools import setup, Extension, find_packages, Distribution
    File “/usr/local/lib/python3.5/dist-packages/setuptools/init.py”, line 18, in
    from setuptools.dist import Distribution
    File “/usr/local/lib/python3.5/dist-packages/setuptools/dist.py”, line 585
    license_files: Optional[List[str]] = self.metadata.license_files
    ^
    SyntaxError: invalid syntax