All Projects → c11z → Python Mk

c11z / Python Mk

A Makefile that contains the seed of a python development environment.

Labels

Projects that are alternatives of or similar to Python Mk

Docker Xymon
Dockerization of the Xymon monitoring system on an Ubuntu base
Stars: ✭ 5 (-68.75%)
Mutual labels:  makefile
Rutgersclasses
a Repo for CS assignments
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Docker Coreos Img
🐳 CoreOS image in a docker image
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Webappsec Change Password Url
A Well-Known URL for Changing Passwords
Stars: ✭ 828 (+5075%)
Mutual labels:  makefile
Bad idea
this is a bad idea
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Ovirt Live
This is a mirror for http://gerrit.ovirt.org, for issues use http://bugzilla.redhat.com
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Forth Wiki On Reddit
forth-wiki-on-reddit
Stars: ✭ 5 (-68.75%)
Mutual labels:  makefile
Hdpslam
The implementation of HDP SLAM
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Docker Debootstrap Builder
🐳 Build a debootstrap based distribution from Docker (ubuntu, debian)
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Armhf Registry
Minimal Docker Registry image the ARM architecture
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Vmware Host Modules
Patches needed to build VMware (Player and Workstation) host modules against recent kernels
Stars: ✭ 828 (+5075%)
Mutual labels:  makefile
Rust Ffi Examples
FFI examples written in Rust
Stars: ✭ 831 (+5093.75%)
Mutual labels:  makefile
Thunderbird Flatpak
Resources to build Mozilla Thunderbird as a flatpak
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Salt Fr
Blog de la communauté Saltstack francophone
Stars: ✭ 5 (-68.75%)
Mutual labels:  makefile
Ansible Freeipa
An Ansible playbook for configuring FreeIPA server(s) and clients.
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile
Rootkit detect
Repository for rootkit detection tools
Stars: ✭ 5 (-68.75%)
Mutual labels:  makefile
Article Template
This is a simple template for writing academic papers. It uses bibtex for tracking bibliographic information and Pandoc to convert the content to a correctly formatted document.
Stars: ✭ 6 (-62.5%)
Mutual labels:  makefile
Device xiaomi cepheus
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Disco
decentralized infrastructure for serverless computing operations
Stars: ✭ 16 (+0%)
Mutual labels:  makefile
Rtspcamera
android rtsp camera
Stars: ✭ 7 (-56.25%)
Mutual labels:  makefile

python.mk

A Makefile that contains the seed of a python development environment.

Inspired by erlang.mk and elm.mk.

Technologies:

  • Makefile (consolidation of common tasks)
  • Docker (immutable builds)
  • modd (monitor filesystem changes)
  • Python 3.7 (hurrah!)
  • pytest (pytest)
  • black (any color)
  • mypy (static type checking)

To get started,

  1. clone this repo
  2. make a new project
  3. copy python.mk into your new project folder
  4. make install
git clone [email protected]:c11z/python-mk.git python_mk
mkdir new_project
cp python_mk/python.mk new_project/
cd new_project
make -f python.mk install

There are three variables that you should consider overriding. APP_NAME, IMAGE_TAG, and MAINTAINER. You can pass them as variables in the initial make install command.

APP_NAME=myapp IMAGE_TAG=myapp:latest [email protected] make -f python.mk install

The new Makefile gets generated with these variables and extends python.mk so you don't need to ever edit it directly.

The install command generates a project structure

tree -a
.
├── Dockerfile
├── .gitignore
├── main.py
├── Makefile
├── modd.conf
├── python.mk
├── requirements.txt
├── scripts
│   └── modd
└── test_main.py

Supported commands:

make [install, build, build_quiet, format, check, run, test, console]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].