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.3.tar.gz (6.8 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.3-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mypymake-0.1.3.tar.gz
  • Upload date:
  • Size: 6.8 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.3.tar.gz
Algorithm Hash digest
SHA256 c2ab34101fb9c60c918017ac318318d4e94af815d56ad3d14746302f21843c04
MD5 8cee56b204ab208c5b15f83f497640f7
BLAKE2b-256 3252f45475ff74d95ccf026d0a1d2e17435edd66a3b2804b5d8f1d9552df6136

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mypymake-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f754d039e8d38814ac713c73e28f79fe2f09cd38e8f93297f0f80ff2cc30cf0d
MD5 dd03be4a18f1ae4db4295fe70904a4e8
BLAKE2b-256 b2e49a9da6a3dd74153e9f0330830b85226e1cb10cc3b59546e82a6603f1ad26

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