Kozea / cairocffi

CFFI-based cairo bindings for Python.
https://doc.courtbouillon.org/cairocffi
BSD 3-Clause "New" or "Revised" License
208 stars 54 forks source link

Import constants.py using spec_from_file_location #196

Closed ade-sculpteo closed 3 years ago

ade-sculpteo commented 3 years ago

This fixes an importing the wrong 'constants' module if you happen to have one with the same name accesible in the PYTHONPATH

c.f https://github.com/Kozea/cairocffi/issues/176

Remove unused import

grewn0uille commented 3 years ago

Thanks!

ade-sculpteo commented 3 years ago

Thank you for the quick merge !