Skip to content

MAINT moved some maintenance and helper python scripts to tools/ #8276

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 2 commits into from
Mar 13, 2017
Merged

MAINT moved some maintenance and helper python scripts to tools/ #8276

merged 2 commits into from
Mar 13, 2017

Conversation

NelleV
Copy link
Member

@NelleV NelleV commented Mar 12, 2017

Our root folder is currently a bit messy and overwhelming.
In an attempt to clean it up a bit and make it more clear for contributors what files does what, I attempted to consolidate the organization a bit.

This pull requests moves some of our maintenance and helper python scripts to our tools folder.

Note that license.py only works on python 2.

@QuLogic
Copy link
Member

QuLogic commented Mar 12, 2017

visual_tests.py is moved in #8018, license.py was deleted in #8274.

@NelleV
Copy link
Member Author

NelleV commented Mar 12, 2017

damn… that's what it is to work offline :)

@NelleV
Copy link
Member Author

NelleV commented Mar 12, 2017

I'll rebase once #8018 is merged

@tacaswell tacaswell changed the title [MRG] MAINT moved some maintenance and helper python scripts to tools/ [MRG+1] MAINT moved some maintenance and helper python scripts to tools/ Mar 12, 2017
@@ -365,7 +365,7 @@ def format_value(value):


def build_pyplot():
pyplot_path = os.path.join(os.path.dirname(__file__), 'lib',
pyplot_path = os.path.join("../", os.path.dirname(__file__), 'lib',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look quite right; if __file__ is an absolute path, then it'll ignore the .. part. Less importantly, there shouldn't be a trailing / since it's using os.path.join.

It should probably be os.pardir and come after the dirname.

@NelleV
Copy link
Member Author

NelleV commented Mar 13, 2017

Indeed there was a problem: the code run fine but wasn't updating the file.
It should work now.

@dstansby dstansby changed the title [MRG+1] MAINT moved some maintenance and helper python scripts to tools/ MAINT moved some maintenance and helper python scripts to tools/ Mar 13, 2017
@dstansby dstansby merged commit 343792f into matplotlib:master Mar 13, 2017
@dstansby dstansby added this to the 2.1 (next point release) milestone Mar 13, 2017
@NelleV NelleV deleted the tools branch March 13, 2017 16:11
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.

4 participants