Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 1 commit into from
Nov 11, 2014

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Nov 10, 2014

This will make it easier to move to floating-point image buffers in the near future.

@tacaswell tacaswell added this to the v1.5.x milestone Nov 10, 2014
tacaswell added a commit that referenced this pull request Nov 11, 2014
MNT : Reduce coupling between _tkagg and _backend_agg modules
@tacaswell tacaswell merged commit ebd921b into matplotlib:master Nov 11, 2014
@pelson
Copy link
Member

pelson commented Nov 17, 2014

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)
Copy link
Member

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?

@WeatherGod
Copy link
Member

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')
Copy link
Member

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

@mdboom
Copy link
Member Author

mdboom commented Nov 17, 2014

Sorry -- apparently this was a merge gone awry. It was, however, fixed on Tuesday in f5bbee2

@mdboom mdboom deleted the tkagg-simplify branch March 3, 2015 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants