Skip to main content

Zetsubou

CI (ubuntu-latest) PyPI version

FASTbuild project generator for the helpless

High level wrapper around FASTbuild build system, written in python. Generates Visual Studio solution from simple yaml description. Supports Conan package manager. Provides commands for common operations, like setting up dev environment, building or clean (and many more in future).

Currently only Windows and msvc are supported, but clang and Linux are planned.


Install

pip install zetsubou

Usage

zetsubou [COMMAND] [PROJECT] [OPTIONS...]
zetsubou regen project.yml --verbose

Commands

  • clean - removes all generated build folder and sln
  • install - setups virtual environment based on your build_tools.ini
  • gen - generates bff files, creates visual studio project and solution
  • regen - clean, install and gen in one command
  • build - build generated project
  • create - (WiP) emit new project from template

Example Project

project.yml

project: MyTest

config:
  verbose_build: false
  platforms:
    - 'platform/windows.yml'
  rules:
    - 'configurations/MsvcRules.yml'
  configurations:
    - 'configurations/Debug.yml'
    - 'configurations/Release.yml'
  config_string: '{platform}-{configuration}-{toolchain}'

conan:
  build_tools: build_tools.ini
  dependencies: dependencies.ini

targets:
  - 'my_app/my_app.yml'

my_app.yml

target: 'MyApp'

config:
  kind: EXECUTABLE

source:
  paths: 'src'
  patterns:
    - '*.cpp'

Directory structure

my_project/
├── build/              # generated
│   ├── conan/          # conan dependencies install output
│   ├── fbuild/         # generated fastbuild files (bff)
│   ├── projects/       # generated vcxproj files
│   ├── scripts/        # command scripts
│   └── venv/           # virtual environment, with activate and deactivate scripts

├── my_app/
│   ├── src/
│   │   └── main.cpp
│   └── my_app.yml

├── my_project.sln      # generated
├── build_tools.ini
├── dependencies.ini
└── project.yml

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zetsubou-0.6.1.tar.gz (48.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zetsubou-0.6.1-py3-none-any.whl (64.5 kB view details)

Uploaded Python 3

File details

Details for the file zetsubou-0.6.1.tar.gz.

File metadata

  • Download URL: zetsubou-0.6.1.tar.gz
  • Upload date:
  • Size: 48.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for zetsubou-0.6.1.tar.gz
Algorithm Hash digest
SHA256 53e8b12e5b100bdf4ce1c9dacd4b7819c0f4cef53abbab96b3c9b3a086333bc2
MD5 91a4992a21d8cffd84d49e882e22d517
BLAKE2b-256 52c32f9d2ff89a5660a5101165b3095c134ef340ff63e144f19a7443fc3f937c

See more details on using hashes here.

File details

Details for the file zetsubou-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: zetsubou-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 64.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for zetsubou-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed26f704ef7953a0decb7e33c1cab7b9ed957b465e45ba14ce1e13750ce03318
MD5 d03afe3507f37d14fea6209b0ed35472
BLAKE2b-256 8d79c17935ce356de53f4aea1ea9be19c15ca412fb2de82f3dd273b8ff83425b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.8.1

2 files

0.8.0

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

This release

0.6.1 This release

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page