Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'tutorial': 0.03; 'cache': 0.07; 'setup.py': 0.09; 'subject:into': 0.09; 'url:github': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '"it\'s': 0.16; 'clone': 0.16; 'roy': 0.16; 'sdist': 0.16; 'subject:install': 0.16; 'tarball': 0.16; 'wrote:': 0.18; 'deployment': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'this?': 0.23; 'directory.': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'somewhere': 0.26; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'asks': 0.31; 'figure': 0.32; 'url:python': 0.33; 'fri,': 0.33; "can't": 0.35; 'anybody': 0.35; 'received:google.com': 0.35; 'there': 0.35; '14,': 0.36; 'c++': 0.36; 'explains': 0.36; 'ryan': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'skip:- 10': 0.38; 'pm,': 0.38; 'subject:can': 0.39; 'url:mail': 0.40; 'skip:n 10': 0.64; 'our': 0.64; 'more': 0.64; 'smith': 0.68; 'skip:r 30': 0.69; 'skip:s 80': 0.84; 'wait,': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xtS2pky89vLobsjaObKytuIp8QfY26ZSqqqcVd2qqNg=; b=ac5qntq1YXbtHPFJ3sjzVnjc66z01seygTuS4+PStTFez/pGesAeQKhuSqoj8k3yk9 3uJvtRCChjp01ju+EVsPbD/Ognaa3YCbfdvPN0J96k7KSQ12zAMCLXpkFatGcs5M0NXW IvAin3Gs+kF0942la5Oc7zrJA4ONRyHHs/cPZDJFbVJdy5P4MqynGWJzdz8F/q8jzYTA aWwdWA2ni4QL6jiU24IhrwGygtep/iwcLqjnN9UpwOORbTeVOFQnQ72eNmZpi/q1sq7x P87nNGGY4V9pQpLlWxFWg8odR/CAwM/uZiOnfr53m61kD4tCRkkn+R42bbEzxWPYMZ7s ENcw== X-Received: by 10.180.187.16 with SMTP id fo16mr4572519wic.26.1392429638246; Fri, 14 Feb 2014 18:00:38 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Ryan Gonzalez Date: Fri, 14 Feb 2014 20:00:18 -0600 Subject: Re: How to turn a package into something pip can install To: Roy Smith Content-Type: multipart/alternative; boundary=001a11c266c4f666f304f26849e9 Cc: python-list@python.org 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: 83 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392429645 news.xs4all.nl 2976 [2001:888:2000:d::a6]:43137 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66347 --001a11c266c4f666f304f26849e9 Content-Type: text/plain; charset=ISO-8859-1 python setup.py sdist On Fri, Feb 14, 2014 at 7:47 PM, Roy Smith wrote: > I want to use (https://github.com/timetric/python-metar). Our > deployment process more or less requires that it be installed via pip. > We maintain our own cache of packages and install using: > > pip install --no-index --quiet --find-links packages --requirement > requirements.txt > > What I can't figure out is what I need to do to go from a clone of the > github repo to a tarball I can drop into our packages directory. Is > there some tutorial somewhere that explains this? > -- > https://mail.python.org/mailman/listinfo/python-list > -- Ryan If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated." --001a11c266c4f666f304f26849e9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

python setup.py sdist


On Fri, Feb 14, 2014 at 7:47 PM, Roy Smith <roy@panix.c= om> wrote:
I want to use (https://github.com/timetric/pytho= n-metar). =A0Our
deployment process more or less requires that it be installed via pip.
We maintain our own cache of packages and install using:

pip install --no-index --quiet --find-links packages --requirement
requirements.txt

What I can't figure out is what I need to do to go from a clone of the<= br> github repo to a tarball I can drop into our packages directory. =A0Is
there some tutorial somewhere that explains this?
--
https://mail.python.org/mailman/listinfo/python-list



--
Ryan
If anybody ever asks me why I prefer C++ t= o C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-S= EGFAULT. Wait, I don't think that was nul-terminated."

--001a11c266c4f666f304f26849e9--