This lesson is being piloted (Beta version)

Packaging: Setup

Objectives

You will need accounts on:

These instructions serve to help set up:

  • an editor,
  • a shell,
  • python,
  • git,
  • an empty repository

either in the cloud (fast) or on a local computer (slow the first time).

User Accounts

If you don’t already have them, sign up for accounts on:

Development Environment

If this is your first time, use the Cloud instructions

If you have not installed and used these tools before, then in the interests of time for the lesson, please use the Cloud setup instructions. After the session you can repeat the setup using the Local setup instructions.

Support will be available for the rest of the week if you have trouble with setting up these tools locally!

Cloud

You can get all the prerequisites for this lesson by using a GitHub Codespace.

Local

If you want to run this example on your own computer, you will need to install the parts independently.

Editor

We recommend using the text editor VSCode from https://code.visualstudio.com/ for this lesson. We won’t be using any of its special features, so if you prefer a different editor, please use that.

Shell

This lesson uses shell commands which you can run in a terminal emulator. Depending on the operating system you use, you have different options.

Python

You will need to have Python installed for this lesson.

To check if python is available in your shell, call python3 --version. You should see some output like:

% python3 --version
Python 3.12.3

If this command returns something like command not found: python3 then you can install python using the instructions on https://wiki.python.org/moin/BeginnersGuide/Download.

Often, developers will need to manage multiple projects which might all use several different python versions. This is sometimes tricky, and there are specialized tools which can help, like:

Git & GitHub

You will need a GitHub account and an installation of Git.

If you don’t already have a GitHub account you can sign up at https://github.com/join.

For beginners, we recommend using GitHub desktop when working with GitHub – installation instructions at https://desktop.github.com/.

Empty repository

Create a new repository using GitHub desktop.