Skip to content

A Nix environment for working through “Mission Python”

License

Notifications You must be signed in to change notification settings

sellout/mission-python-nix

Nix for Mission Python

built with garnix Nix CI Project Manager

A Nix environment for working through Mission Python

Mission Python is a book for learning Python through a series of game implementations. This prevides a Nix environment for the book’s exercises.

development environment

We recommend the following steps to make working in this repository as easy as possible.

nix run github:sellout/project-manager -- switch

This is sort-of a catch-all for keeping your environment up-to-date. It regenerates files, wires up the project’s Git configuration, ensures the shells have the right packages configured the right way, enables checks & formatters, etc.

If you already have it installed on your system or once you’ve run direnv allow, you can instead use project-manager switch.

direnv allow

This command ensures that any work you do within this repository happens within a consistent reproducible environment. That environment provides various debugging tools, etc. When you leave this directory, you will leave that environment behind, so it doesn’t impact anything else on your system.

nix develop

If you don’t have direnv installed, you can instead manually run nix develop to get into the Mission Python environment.

building & development

Once you are in the environment, you should be able to cd source and then follow through the book as written.

If there is no “source” directory, then you can manually run unpackPhase to create it.

To run the IDLE editor, as the book recommends, you can do

idle &

About

A Nix environment for working through “Mission Python”

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 2

  •  
  •  

Languages