eoyilmaz / displaycal-py3

DisplayCAL Modernization Project
https://eoyilmaz.github.io/displaycal-py3/
GNU General Public License v3.0
698 stars 55 forks source link

- Fixed #334 #342

Closed eoyilmaz closed 3 months ago

eoyilmaz commented 3 months ago

The issue was that the some of the entries in the data_files were referenced with absolute path and the source of that was the DisplayCAL.setup.get_data() function. This resulted the SOURCES.txt in the egg file to contain absolute paths which are not valid except the system that the library is build with. Now it always returns a relative path, and when build the SOURCE.txt file contains all relative paths. Only tested on MacOS, but it should be fine with other OSes too.