Metadata-Version: 2.1
Name: compile-minifier
Version: 0.1.5
Summary: Python compiler and minifier
Home-page: https://github.com/bimdata/compile-minifier
Author-email: contact@bimdata.io
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.5, <4
Description-Content-Type: text/markdown
Provides-Extra: ci

# Compile-minifier

Compile-minifier is a tool to minify and compile a structure code python.

## Package version

0.1.4

## Requirements

Python 3.5+

## Installation & Usage

### pip install

You can install using:

```sh
pip install compile-minifier
```

Or you can install directly from sources :

```sh
pip install git+https://github.com/bimdata/compile-minifier.git#master
```

### Setuptools

Install via [Setuptools](http://pypi.python.org/pypi/setuptools).

```sh
python setup.py install --user
```

(or `sudo python setup.py install` to install the package for all users)

### Get started

The package is used exclusively on the command line:

```sh
compileminify run
```

This command minify the code with [python-minifier](https://pypi.org/project/python-minifier/) and compile all .py in .pyc recursively.

By default, no python file modifications are executed in the root folder.

### Deployment

The deployment on pypi is automated by circle when a tag is pushed on master.

For manual deployment, you can run the following command :

```sh
VERSION=<VERSION_TAG> python setup.py sdist && twine upload dist/*
```

### Help

Command line interfaces are generated with [Fire](https://github.com/google/python-fire)

For display help:

```sh
compileminify --help
```
