c11z / Python Mk
A Makefile that contains the seed of a python development environment.
Stars: ✭ 16
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
Webappsec Change Password Url
A Well-Known URL for Changing Passwords
Stars: ✭ 828 (+5075%)
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
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
Thunderbird Flatpak
Resources to build Mozilla Thunderbird as a flatpak
Stars: ✭ 7 (-56.25%)
Mutual labels: makefile
Ansible Freeipa
An Ansible playbook for configuring FreeIPA server(s) and clients.
Stars: ✭ 7 (-56.25%)
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
Disco
decentralized infrastructure for serverless computing operations
Stars: ✭ 16 (+0%)
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,
- clone this repo
- make a new project
- copy python.mk into your new project folder
- 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].