summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-09 10:33:50 +0200
committerhut <hut@lavabit.com>2010-06-09 10:33:50 +0200
commit8129ccb6d1e10182d60a71483da2c3db08108adb (patch)
tree50f8aad3316ccf871976b0f4e3fa49e3831046f1
parent1881922fba437a3f2ba8f1392ba27b78c382e82f (diff)
downloadranger-8129ccb6d1e10182d60a71483da2c3db08108adb.tar.gz
Changed hashbang line to "#!/usr/bin/env python"
-rw-r--r--INSTALL2
-rwxr-xr-xdoc/print_colors.py2
-rw-r--r--doc/print_keys.py2
-rwxr-xr-xranger.py2
-rw-r--r--ranger/__main__.py2
-rwxr-xr-xtest/all_benchmarks.py2
-rwxr-xr-xtest/all_tests.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/INSTALL b/INSTALL
index 5fc5ca6b..9939c11b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -21,7 +21,7 @@ though you might want to read the Makefile first)
 
 0. Make sure you have a recent version of python, including the
    curses module, which is the case if this shell command prints no errors:
-   python -c 'import curses'
+   python -c 'import curses, sys; assert sys.version >= "2.6"'
 
 
 1. Copy the file "ranger.py" into any of the directories in the PATH
diff --git a/doc/print_colors.py b/doc/print_colors.py
index 7ffd6500..c3508fa6 100755
--- a/doc/print_colors.py
+++ b/doc/print_colors.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 """
 You can use this tool to display all supported colors and their color number.
 It will exit after a keypress.
diff --git a/doc/print_keys.py b/doc/print_keys.py
index 0790acab..f87a2a40 100644
--- a/doc/print_keys.py
+++ b/doc/print_keys.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 """
 You can use this tool to find out values of keypresses
 """
diff --git a/ranger.py b/ranger.py
index aca1b557..a3f2095b 100755
--- a/ranger.py
+++ b/ranger.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -O
+#!/usr/bin/env python -O
 # coding=utf-8
 #
 # Ranger: Explore your forest of files from inside your terminal
diff --git a/ranger/__main__.py b/ranger/__main__.py
index 0c38b6e1..2164c045 100644
--- a/ranger/__main__.py
+++ b/ranger/__main__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # coding=utf-8
 #
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
diff --git a/test/all_benchmarks.py b/test/all_benchmarks.py
index 73316658..84d6817d 100755
--- a/test/all_benchmarks.py
+++ b/test/all_benchmarks.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
 #
 # This program is free software: you can redistribute it and/or modify
diff --git a/test/all_tests.py b/test/all_tests.py
index dff49b60..04321462 100755
--- a/test/all_tests.py
+++ b/test/all_tests.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
 #
 # This program is free software: you can redistribute it and/or modify
='n335' href='#n335'>335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674