Show More
@@ -63,7 +63,6 b' from setupbase import (' | |||
|
63 | 63 | find_entry_points, |
|
64 | 64 | build_scripts_entrypt, |
|
65 | 65 | find_data_files, |
|
66 | check_for_readline, | |
|
67 | 66 | git_prebuild, |
|
68 | 67 | install_symlinked, |
|
69 | 68 | install_lib_symlink, |
@@ -409,27 +409,6 b' class install_scripts_for_symlink(install_scripts):' | |||
|
409 | 409 | ('skip_build', 'skip_build'), |
|
410 | 410 | ) |
|
411 | 411 | |
|
412 | #--------------------------------------------------------------------------- | |
|
413 | # Verify all dependencies | |
|
414 | #--------------------------------------------------------------------------- | |
|
415 | ||
|
416 | def check_for_readline(): | |
|
417 | """Check for GNU readline""" | |
|
418 | try: | |
|
419 | import gnureadline as readline | |
|
420 | except ImportError: | |
|
421 | pass | |
|
422 | else: | |
|
423 | return True | |
|
424 | try: | |
|
425 | import readline | |
|
426 | except ImportError: | |
|
427 | return False | |
|
428 | else: | |
|
429 | if sys.platform == 'darwin' and 'libedit' in readline.__doc__: | |
|
430 | print("Ignoring readline linked to libedit", file=sys.stderr) | |
|
431 | return False | |
|
432 | return True | |
|
433 | 412 | |
|
434 | 413 | #--------------------------------------------------------------------------- |
|
435 | 414 | # VCS related |
General Comments 0
You need to be logged in to leave comments.
Login now