Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1345

[python] Avoid hardcoding the list of C files to be compiled in setup.py

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.15.0
    • proton-c-0.18.0
    • python-binding
    • None

    Description

      Remove the hardcoded list of C source files in the setup.py file. It's easy to forget to update this list, and debugging the resulting tox build failure is tricky.

      Instead have the setup.py discover all the necessary C source files using an regex. Add an explicit blacklist for those C source files that shouldn't be built by the setup.py process (if there actually is any).

      Attachments

        Issue Links

          Activity

            People

              kgiusti Ken Giusti
              kgiusti Ken Giusti
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: