Skip to content

uvsmtid/instant_python_bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instant_python_bootstrap

This bootstrap.py script hides "evolving setup details" from your users behind a single click.

How?

  • Install:

    ./
    ├── bootstrap.py   <--- own copy
    ├── pyproject.toml
    └── *
    

    Add your own copy of bootstrap.py next to your pyproject.toml.

  • Run (click):

    ./bootstrap.py

Why?

  • one-click
  • cross-platform
  • by default:
    • no args
    • no deps
    • no configs
  • pure python even before venv is ready

Next: evolving setup details

This repo demonstrates a trivial use case (extend-able into any sophisticated bootstrap sequence).

When you need more - see protoprimer:

advanced features
  • handle environment-specific config
  • extend the bootstrap sequence by custom steps
  • configure any directory structure layout
  • maintain multiple pyproject.toml in a monorepo
  • support other pure python scripts even before venv is ready

About

A trivial `protoprimer` bootstrap case

Topics

Resources

License

Stars

Watchers

Forks

Languages