A build system
Project description
build.py
build.py is a simple build system written in python.
Just create a build.py with the following content:
#!/usr/bin/python3
import build
build.main(__name__)
class Config(build.Config):
# Put your options here
# Defaults:
# Default task
default = 'build'
# Languages to build (lang/<lang>.py)
languages = []
# Default output directory
out = 'out'
# Whether to preserve output paths (src/dir/file.py -> out/dir/file.py or out/file.py)
preserve_paths = True
# Enable builtin tasks (build etc.)
builtins = True
# Or remove the class above and put your options here
Then call ./build.py -h
usage: build.py [-h] [-f FILE] [-o OUT] [task] [args [args ...]]
positional arguments:
| Option | Description |
|---|---|
task |
The task that should be called |
args |
The arguments for TASK |
optional arguments:
| Short | Long | Description |
|---|---|---|
-h |
--help |
Show this help message and exit |
-f FILE |
--file FILE |
The build configuration |
-o OUT |
--out OUT |
The output directory |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
build.py-1.0.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file build.py-1.0.0.tar.gz.
File metadata
- Download URL: build.py-1.0.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abcf92903cc8899a0fc5fee21f40d934eecf5e3bab97db784818d151d926f4f4
|
|
| MD5 |
774d8a39f87ca7aeb2e267d27a8a8b4a
|
|
| BLAKE2b-256 |
72c889e8234c991b92c2fb67471f004f8cd52abce43824f1b2c12b3c7abe431a
|
File details
Details for the file build.py-1.0.0-py3-none-any.whl.
File metadata
- Download URL: build.py-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
003dd55800205534e661db4f4fed47373b29c21ef01ad5e6b3f6cd781d2272d1
|
|
| MD5 |
13ae439c4274717d89058b914e32bb75
|
|
| BLAKE2b-256 |
cd40b943c6078c0c702ca1e0f8bd64bd33282d1f0a40117fa6ec3fae8d249651
|