Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #66438
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <kwpolska@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'tutorial': 0.03; 'tree': 0.05; 'cache': 0.07; 'paths': 0.07; 'pypi': 0.07; 'utf-8': 0.07; 'setup.py': 0.09; 'subject:into': 0.09; 'url:github': 0.09; 'valueerror:': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'suggest': 0.14; 'clone': 0.16; 'roy': 0.16; 'sdist': 0.16; 'subject:install': 0.16; 'tarball': 0.16; 'usable': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'issue.': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; 'this?': 0.23; 'directory.': 0.24; '(or': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '15,': 0.26; 'somewhere': 0.26; 'header:In- Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'hiring': 0.29; 'absolute': 0.30; 'relative': 0.30; 'waste': 0.30; 'message- id:@mail.gmail.com': 0.30; 'directory,': 0.31; 'figure': 0.32; 'run': 0.32; 'fri,': 0.33; 'sense': 0.34; 'could': 0.34; "can't": 0.35; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; '14,': 0.36; 'explains': 0.36; 'ryan': 0.36; 'example,': 0.37; 'two': 0.37; 'project': 0.37; 'pm,': 0.38; 'subject:can': 0.39; 'even': 0.60; 'skip:a 30': 0.61; 'entire': 0.61; 'from:charset:utf-8': 0.61; 'our': 0.64; 'skip:\xe2 10': 0.65; 'smith': 0.68; 'caused': 0.69; '8bit%:43': 0.74; 'article': 0.77; '99.9%': 0.84; 'actually,': 0.84; 'url:tk': 0.95 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dQYDcbAykDZ7O6eyiuA9c3dOQQbDA1zK3ExpNSEIDjA=; b=JmO73wHw8t/7P56ZhNcym3hsJYDW/j/yh0xWcvUaPDpuDUuc5TaTJAvz7sQYfK53EJ SIyLmEmJaI4eVDdkRSBBzDO+qQ2Teg3VWjz7+xsd2rLXcgp30PAh22vUI9VSjTvw5Jyt /UoCO2TKaEmg5jmyZWW9S75lGTXBzwDI4SyAoOpUlAckROyVPKboQ1xQpZbN1/T/rUJE u7xdNcbBonXWwOTUoxFgub0d1aUlo2F2fXrpeaAVgkiUReP6w+AOGhsrTF+QjNmAsiuj W4tChlHSxNzUKylLPFZkJzluY8YhmnsjOKgabckKp3t56kMx50ZvTcEATkHohUXzcVPM GMAg== |
| MIME-Version | 1.0 |
| X-Received | by 10.52.171.39 with SMTP id ar7mr7955865vdc.5.1392473343856; Sat, 15 Feb 2014 06:09:03 -0800 (PST) |
| In-Reply-To | <roy-E13405.21260314022014@news.panix.com> |
| References | <roy-C807D1.20471014022014@news.panix.com> <mailman.6949.1392429645.18130.python-list@python.org> <roy-E13405.21260314022014@news.panix.com> |
| Date | Sat, 15 Feb 2014 15:09:03 +0100 |
| Subject | Re: How to turn a package into something pip can install |
| From | Chris “Kwpolska” Warrick <kwpolska@gmail.com> |
| To | Roy Smith <roy@panix.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| 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 <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6998.1392473352.18130.python-list@python.org> (permalink) |
| Lines | 34 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392473352 news.xs4all.nl 2871 [2001:888:2000:d::a6]:44410 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:66438 |
Show key headers only | View raw
On Sat, Feb 15, 2014 at 3:26 AM, Roy Smith <roy@panix.com> wrote: > In article <mailman.6949.1392429645.18130.python-list@python.org>, > Ryan Gonzalez <rymg19@gmail.com> wrote: > >> python setup.py sdist > > OK, I run that and I get a metar-1.4.0.tar.gz under dist. If I move > that tarfile to my packages directory, and run pip, I get: > > $ pip install --no-index --quiet --find-links packages metar==1.4.0 [snip] > ValueError: unknown url type: packages The path to your cache directory is incorrect. I suggest using absolute paths (eg. /home/user/packages) instead of relative paths, which is likely what caused this issue. On Fri, Feb 14, 2014 at 7:47 PM, Roy Smith <roy@panix.com> wrote: > 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? Actually, you could even tar up that entire repo (or even get a nice ready tarball from GItHub) and you will get something usable with pip. For example, we in the Nikola project (https://github.com/getnikola/nikola) upload the GitHub tarballs to PyPI because we ship 99.9% of our tree anyways and hiring `setup.py sdist` would be a waste of time (and would produce two almost-identical-but-not-quite tarballs). -- Chris “Kwpolska” Warrick <http://kwpolska.tk> PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-14 20:47 -0500
Re: How to turn a package into something pip can install Ryan Gonzalez <rymg19@gmail.com> - 2014-02-14 20:00 -0600
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-14 21:26 -0500
Re: How to turn a package into something pip can install Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-02-15 15:09 +0100
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-15 17:01 -0500
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-15 17:35 -0500
Re: How to turn a package into something pip can install Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2014-02-16 13:18 +0100
Re: How to turn a package into something pip can install Chris Angelico <rosuav@gmail.com> - 2014-02-17 00:23 +1100
Re: How to turn a package into something pip can install Roy Smith <roy@panix.com> - 2014-02-16 09:25 -0500
Re: How to turn a package into something pip can install Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-16 15:06 +0000
Re: How to turn a package into something pip can install MRAB <python@mrabarnett.plus.com> - 2014-02-16 15:20 +0000
Re: How to turn a package into something pip can install Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-16 15:47 +0000
csiph-web