Skip to content

Instantly share code, notes, and snippets.

View transistor1's full-sized avatar

Steve Russo transistor1

  • Field Effect, LLC
  • Northern, NJ
View GitHub Profile
#This is a fork of pipista 2.0, by pudquick: https://gist.github.com/transistor1/8191833615d58d44e33a
#The only difference between this and the original is that the tabs are consistent, which seems to have
#caused some strange xmlrpclib error.
import os, os.path, sys, urllib2, requests, tempfile, zipfile, shutil, gzip, tarfile
__pypi_base__ = os.path.abspath(os.path.dirname(__file__))
class PyPiError(Exception):
def __init__(self, value):