Skip to main content

Manage your Makefiles from python

Project description

pymakefile

Manage your Makefiles with python

Install

pip install pymakefile

Usage

Starting a new Makefile

pymake init

Add a new command to the Makefile

pymake add '{command_name}' '{command}' '{description}'

Example of adding new command:

pymake add runlocal 'python manage.py runserver' 'Starts the development server'

Show available commands in Makefile

make help

Development

Install dependencies

poetry install

Activate virtualenv

poetry shell

Running the commands from source

python pymakefile.py init
python pymakefile.py add '{command_name}' '{command}' '{description}'

Applying lint rules

black .

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

pymakefile-0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

pymakefile-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pymakefile-0.1.2.tar.gz.

File metadata

  • Download URL: pymakefile-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Darwin/20.5.0

File hashes

Hashes for pymakefile-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0df0324e07e6c48581643c0fe75329c0a3971f0ec92f75ba2760fbc8e4033f56
MD5 d50aca76f3d550386e3444403104d698
BLAKE2b-256 faf2df0e7791badae44fe0efeb178b86b498144f495225ac29b3c972aa87aa14

See more details on using hashes here.

File details

Details for the file pymakefile-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pymakefile-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.8.5 Darwin/20.5.0

File hashes

Hashes for pymakefile-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c900f79b15f5e460ff372c916f57c300f75d543203e91162f84eae64b6e88e83
MD5 35eca6e3dd5f7d685feb5ed300dff927
BLAKE2b-256 4f5cc1373041c926a7386cc3d1e8d0a96cfaf7edf744f01470465bfc5f02fd26

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