-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Reduce coupling between _tkagg and _backend_agg modules #3778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
MNT : Reduce coupling between _tkagg and _backend_agg modules
CC @WeatherGod - is this impacting you? |
'agg_vpgen_segmentator.cpp' | ||
] | ||
ext.sources.extend( | ||
os.path.join('extern', 'agg24', 'src', x) for x in agg_sources) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this supposed to be "agg24-svn" now?
Don't know if it is the source of my issues, but the movement of the agg24-svn directory and the (possibly) incorrect sourcing of agg files might explain why I am having problems regardless of which version I build. Furthermore, the changes here might definitely explain why I am getting a segfault only on master, but merely an exception with the other versions. |
@@ -852,23 +852,24 @@ def check(self): | |||
self.__class__.found_external = False | |||
return str(e) + ' Using local copy.' | |||
|
|||
def add_flags(self, ext): | |||
def add_flags(self, ext, add_sources=True): | |||
if self.found_external: | |||
pkg_config.setup_extension(ext, 'libagg') | |||
else: | |||
ext.include_dirs.append('extern/agg24/include') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same point about agg24 here, too
Sorry -- apparently this was a merge gone awry. It was, however, fixed on Tuesday in f5bbee2 |
This will make it easier to move to floating-point image buffers in the near future.