FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bentotten/Bens-python-package-template: A Python project template with Ben's favorite setups for single-package python projects · GitHub

Repository navigation

About

A Python project template with Ben's favorite setups for single-package python projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MyProject

A template for single-package python projects consisting of my favorite setups.

Table of Contents

Prerequisites

Note for Windows users

This project uses make and bash tooling which are not natively available on Windows. The recommended approach is to use WSL2 (Windows Subsystem for Linux), which provides a full Linux environment.

Install WSL2 with Ubuntu from PowerShell:

wsl --install

Then follow the standard Linux setup instructions inside the WSL2 terminal.

micromamba

This project uses micromamba to manage the environment.

Linux, macOS, or Git Bash on Windows:

"${SHELL}" <(curl -L micro.mamba.pm/install.sh)

macOS (Homebrew):

brew install micromamba

Windows (PowerShell):

Invoke-Expression ((Invoke-WebRequest -Uri https://micro.mamba.pm/install.ps1 -UseBasicParsing).Content)

Once installed, micromamba can be updated at any time with:

micromamba self-update

Installation

Create and activate the environment:

micromamba create -f environment.yaml
micromamba activate my-project

Then install the project:

make build

To run:

cli

To deactivate:

micromamba deactivate

About

A Python project template with Ben's favorite setups for single-package python projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL