Skip to content

Latest commit

 

History

336 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DTU Python Support Scripts

Usage

MacOS

# Install (everything)
export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/install_all_macOS.sh" | bash
# uninstall (everything)

export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/uninstall_all_macOS.sh" | bash

Windows

Install (everything)

$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; irm "$env:PS_REPO_URL/Core/Orchestration/install_all_windows.ps1" | iex

uninstall (everything)

$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/main"; irm "$env:PS_REPO_URL/Core/Orchestration/uninstall_all_windows.ps1" | iex

Dev

MacOS

# Install (everything)
export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/install_all_macOS.sh" | bash
# uninstall (everything)

export PS_REPO_URL="https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; curl -fsSL "$PS_REPO_URL/Core/Orchestration/uninstall_all_macOS.sh" | bash

Windows

Install (everything)

$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; irm "$env:PS_REPO_URL/Core/Orchestration/install_all_windows.ps1" | iex

uninstall (everything)

$env:PS_REPO_URL = "https://raw.githubusercontent.com/dtudk/pythonsupport-scripts/dev"; irm "$env:PS_REPO_URL/Core/Orchestration/uninstall_all_windows.ps1" | iex

Local development

macOS

To test scripts against your local checkout instead of the remote GitHub repo, point PS_REPO_URL at the local repo root using a file:// URL. All internal curl calls will then read from disk, so uncommitted changes are tested too.

  1. Open a terminal at the repo root (the directory containing this README).

  2. Export the repo root as a file:// URL:

    export PS_REPO_URL="file://$PWD"

    If you are in a subdirectory, use an absolute path instead:

    export PS_REPO_URL="file:///path/to/pythonsupport-scripts"
  3. Run any script directly:

    bash Core/Orchestration/install_all_macOS.sh
    bash Core/VsCode/config/settings_macOS.sh
    bash Core/VsCode/config/extensions_macOS.sh
    bash Core/Orchestration/uninstall_all_macOS.sh

The variable only lives in the current shell session. Open a new terminal, or run unset PS_REPO_URL, to go back to testing against the remote repo.

About

Container for Python supports installation and helper scripts (linked through pythonsupport-page)

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages