Skip to content

Instantly share code, notes, and snippets.

@vsajip
vsajip / wheeler.py
Last active February 17, 2016 18:12
A script to build wheels from existing PyPI distributions using distlib and vanilla pip. Not usable with distributions you already have installed. Builds dependent wheels by default, though you can turn that off with --no-deps.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2016 Vinay Sajip. License: MIT
#
import logging
import optparse # for 2.6
import os
import re