Skip to main content

Build system

Project description

Erect

  1. (verb, transitive) To put up by the fitting together of materials or parts.

Introduction

Erect is a build system aimed at building speciality (e.g. embedded) software.

Design goals include:

  • Support for C++20 modules.
  • Type annotations and docstrings to help editors help you write blueprints.
  • Embeddability (create tasks and run the dependency engine from within another python application).

Status and roadmap

  • Basic functionality is in place.
  • The API is not considered stable yet.
  • Error handling and path handling needs to be improved.
  • Documentation and tests are not written yet.

Usage

Erect will look for a file named blueprint.py, whose contents might look like so:

from erect import Env

env = Env()

env.executable('hello', ['main.cpp'])

When you run erect, this file will be loaded, which creates a build environment and the tasks necessary to build an executable from main.cpp. All build artifacts will go into the environment's build directory which defaults to build/, so the resulting executable will be build/hello. After the blueprint is done, Erect will execute the created tasks in dependency order.

Project details


Download files

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

Source Distribution

erect-0.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

erect-0.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file erect-0.2.tar.gz.

File metadata

  • Download URL: erect-0.2.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.2 CPython/3.12.0 Darwin/23.1.0

File hashes

Hashes for erect-0.2.tar.gz
Algorithm Hash digest
SHA256 7dc81c8ef9da992f9e40b71ad0d40b8e013ec93d5eb9b3538650935c240c71aa
MD5 426dfcc7132960501092890ed35f1380
BLAKE2b-256 d9b9ccabab83e22fb20df9019ef8e54680f29f1a0ba2b8017bb7b1a2344324d1

See more details on using hashes here.

File details

Details for the file erect-0.2-py3-none-any.whl.

File metadata

  • Download URL: erect-0.2-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.2 CPython/3.12.0 Darwin/23.1.0

File hashes

Hashes for erect-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7609ec01d3ff74a3366ad6232e69d36a8278b267dc939c5d9d625c2740c43c1a
MD5 ef7880e9200c1f9ff4f7ab616c30e124
BLAKE2b-256 33c1ec4c56d8782f76fec2fab15806e076a1bf82b537640ccfde95d07fd998d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page