semvec/pypi-packages huggingface dataset:
smk-py 1.2.5
A very simple library in Python to configure Make files
License: Apache License 2.0

A very simple library in Python to configure Make files.

## Table of contents

* [Installation](#installation)
* [Usage](#usage)
* [License](#license)

## Installation

Python 3 is required to use this library.

Preffered way to install the library is to use pip:

```console
$ pip install smk-py # or
$ pip3 install smk-py
```

Installing from local would also work.

```console
$ git clone https://github.com/sahdjfg/smk-py --depth 1
$ cd smk-py
$ pip install . # or
$ pip3 install .
```

## Usage


```python
import smk
import platform # Local Python libraries can be imported

shell = smk.check("sh") # Checks if sh is available on the system path; returns None if not
echo = "echo"

if shell is None and platform.system() == "Windows":
    # Use powershell
    shell = "powershell"

else:
    smk.error("sh is not available")

smk.feed([shell, echo]) # Feeds the Make file with variables
smk.setup() # Setups the Make file
```

## License

Everything in this repository is licensed under the Apache 2.0 license.