Skip to content
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

Add file type association to Spyder shortcuts on all platforms. #171

Merged
merged 13 commits into from
Aug 20, 2024

Commits on Aug 9, 2024

  1. Fix sed once and for all.

    Array options for script and cat-ing to script are incompatible: ("-i" "''" "-e") works for cat-ing but not for script; ("-i" '' "-e") works for script but not cat-ing. For situations that require both script and cat-ing that must work for both GNU and BSD, the only solution is to use "-i.bak -e" and "rm *.bak"
    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    9937076 View commit details
    Browse the repository at this point in the history
  2. Add file type association for macOS.

    Note: this results in a non-functioning application bundle, with nested application and broken executable stubs (conda/menuinst#179)
    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    eb7a43c View commit details
    Browse the repository at this point in the history
  3. Add file type association for Windows.

    Note: this does not appear to establish file type association (conda/menuinst#185)
    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    ead6868 View commit details
    Browse the repository at this point in the history
  4. Add file type association for Linux.

    Note: I don't think this is a comprehensive list
    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    4cc1cb7 View commit details
    Browse the repository at this point in the history
  5. Try "." in extensions

    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    f423944 View commit details
    Browse the repository at this point in the history
  6. Requires menuinst >=2.1

    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    5ed1118 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    92ea0b8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    af6d6a0 View commit details
    Browse the repository at this point in the history
  9. Use gui-64.exe.

    conda-build copies cli-64.exe and spyder-script.py to the Scripts directory after bld.bat is run, so we must copy gui-64.exe such that it does not get clobbered, then use the post-link script to clean things up.
    
    This work-around may be removed in the future if/when conda-build adds a feature to specify which executable stub to use. Hopefully, the resulting spyder.exe will also get the Spyder icon.
    mrclary committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    b3eac2c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2b7de75 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    1daf0b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Update menuinst to 2.1.2

    mrclary committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    a0952b8 View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Co-authored-by: Carlos Cordoba <ccordoba12@gmail.com>
    mrclary and ccordoba12 authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    0dd6882 View commit details
    Browse the repository at this point in the history