Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'craft': 0.09; 'makefile': 0.09; 'setup.py': 0.09; 'question.': 0.14; '"python': 0.16; '__init__.py': 0.16; 'install".': 0.16; 'files.': 0.16; 'thanks,': 0.17; 'machine': 0.22; 'install': 0.23; 'installation': 0.23; 'copied': 0.24; 'exists': 0.24; 'package.': 0.24; 'script': 0.25; 'external': 0.29; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'produces': 0.31; 'file': 0.32; "i'd": 0.34; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'performance': 0.37; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'simply': 0.61; 'simple': 0.61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=dLlUjh85e7rPTXupNVUPhrnei7syzf7xHdDc3Xvu/p8=; b=bbvlCGf8fwdBdwrmmhXIBeNy5KQuX0RF7KMtVY7xW3iTIkNi6VPRuKcWJ0nJiJ8WYs TEOg5SiG1D4QJkfwPP2WAUdXuc1gGvV/7U2JC2PeMGjqC3Xl40ON+23zX3K653VKLwMQ Vz4raPlPDcE9TA4n47oKmjv+LmyUefE/g0YtY2G+H0eCwgH3RSukI4YcK21baiDo38w9 pdDC+7Ai0QbHESQwEBtnhubOfombqz/a50MOQBdpb4v+k87gfEsq8omLjK7snn1Vy1pz 1PVX550WAkbsvMC7kwLHEu6u4L7VlOLI+m+vZv3/haVKbAUug3fZZ2Z1dE+hwi13M8LL YohA== MIME-Version: 1.0 X-Received: by 10.229.112.227 with SMTP id x35mr9018724qcp.55.1367863906519; Mon, 06 May 2013 11:11:46 -0700 (PDT) Date: Mon, 6 May 2013 14:11:46 -0400 Subject: distributing a binary package From: Eric Frederich To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367863915 news.xs4all.nl 15950 [2001:888:2000:d::a6]:37215 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44838 Hello, Hopefully a simple question. Basically, I'd like to know how to create a proper setup.py script to install a package. The package exists as a single directory with a single __init__.py file and (currently) 93 .so files. Right now I just copy it into the site-packages directory but I'd like to start using virtualenv / pip so I'd like to do the installation via "python setup.py install". I need to keep my build process external to this for performance reasons (with a Makefile I can do parallel builds and I have a machine with 12 cores). My Makefile does all the work. It produces a directory that simply needs to be copied to site-packages.... but how do I craft a setup.py script to do the actually installation? Thanks, ~Eric