Skip to main content

PyMake is a simple, Python-based build system designed to simplify the process of compiling and running C++ projects. It provides an intuitive API for configuring your build process and executing compiled programs.

Project description

PyMake

PyMake is a simple, Python-based build system designed to simplify the process of compiling and running C++ projects. It provides an intuitive API for configuring your build process and executing compiled programs.

Features

  • Easy-to-use Python API for build configuration
  • Support for multiple source files and directories
  • Include directory management
  • Macro definitions
  • Library linking and path configuration
  • Compiler, linker, assembler, and preprocessor flag customization
  • Verbose output option for debugging
  • Flexible output directory setting
  • Run compiled programs with custom arguments and environment variables

Installation

To install PyMake, you can use pip:

pip install git+https://github.com/fresh-milkshake/pymake.git

Usage

Here's a simple example to get you started:

from pymake import *

add_sources_directory("src")
add_includes_directory("inc")

set_verbose(True)

build(compiler="g++")
run()

This script will compile all the source files in the src directory, link them into an executable, and then run the executable.

Documentation

For more details on the API and its usage, please refer to the documentation.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

mypymake-0.1.4.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

mypymake-0.1.4-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file mypymake-0.1.4.tar.gz.

File metadata

  • Download URL: mypymake-0.1.4.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for mypymake-0.1.4.tar.gz
Algorithm Hash digest
SHA256 79920cacfdc82062c1eb1b95e28b1d2baca784e7903eeb8d97bb57a98bfdcddb
MD5 ec8b93727c612a8dec8015f424fad872
BLAKE2b-256 0b604d100c07edd6f939dd4f61c36738644c88187f9ec0be3b0ab34020c27393

See more details on using hashes here.

File details

Details for the file mypymake-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: mypymake-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for mypymake-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dc4fc71d9ddbce44f352991184106ed97c889eb7ab0eebaf2db556c4826a3fe5
MD5 fa7b2f9f5bbc3d816aab36b14f28e560
BLAKE2b-256 c13bfd22a9d8a9fa313259733522159a0c39bc6452eb7e73d927b64a7565f3be

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