spacetelescope / spherical_geometry

A Python package for handling spherical polygons that represent arbitrary regions of the sky
http://spherical-geometry.readthedocs.io/
62 stars 31 forks source link

Use relative path for sources #184

Closed jhunkeler closed 5 years ago

jhunkeler commented 5 years ago

@stsci-hack reported the following failure occurring in drizzlepac's build: https://dev.azure.com/spacetelescope/drizzlepac/_build/results?buildId=1257&view=logs&jobId=094df02d-42f3-5942-83e9-798405c0fd82&taskId=15c70358-89e9-5290-5e64-20274e23afb5&lineStart=346&lineEnd=350&colStart=1&colEnd=54

    File "C:\hostedtoolcache\windows\Python\3.6.8\x64\lib\distutils\util.py", line 125, in convert_path
      raise ValueError("path '%s' cannot be absolute" % pathname)
  ValueError: path '/Users/jhunk/Downloads/spherical_geometry/libqd/src/bits.cpp' cannot be absolute
  ----------------------------------------
  ERROR: Failed building wheel for spherical-geometry

Turns out paths in the sources list passed to the Extension builder are stored verbatim by sdist.