We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c8f7c86 + 2c5ef7b commit bda9f25Copy full SHA for bda9f25
doc/make.py
@@ -236,6 +236,19 @@ def all():
236
os.chdir(os.path.dirname(os.path.join(current_dir, __file__)))
237
copy_if_out_of_date('../INSTALL', 'users/installing.rst')
238
239
+# Create the examples symlink, if it doesn't exist
240
+
241
+required_symlinks = [
242
+ ('mpl_examples', '../examples/'),
243
+ ('mpl_toolkits/axes_grid/examples', '../../../examples/axes_grid/')
244
+ ]
245
246
+for link, target in required_symlinks:
247
+ if not os.path.exists(link):
248
+ if hasattr(os, 'symlink'):
249
+ os.symlink(target, link)
250
+ else:
251
+ shutil.copytree(os.path.join(link, '..', target), link)
252
253
if len(sys.argv)>1:
254
if '--small' in sys.argv[1:]:
0 commit comments