Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19419
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <edriscoll@wisc.edu> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.04; 'python': 0.08; '--prefix': 0.09; 'header:In-reply-to:1': 0.09; 'linux.': 0.09; 'says,': 0.09; 'setup.py': 0.09; 'files.': 0.09; 'am,': 0.12; 'library': 0.13; 'this:': 0.15; 'plea': 0.16; 'wrote:': 0.16; "'python": 0.18; 'packaging': 0.21; 'subject:data': 0.21; 'tree': 0.25; 'code.': 0.26; 'stuff': 0.26; "i'm": 0.27; 'putting': 0.28; 'work.': 0.28; 'received:144': 0.30; "i've": 0.31; 'modules': 0.32; 'header:User-Agent:1': 0.33; 'to:addr :python-list': 0.33; 'there': 0.33; "we're": 0.34; '...': 0.35; 'install': 0.35; 'charset:us-ascii': 0.36; 'unless': 0.37; 'received:128': 0.37; 'put': 0.38; 'should': 0.38; "i'd": 0.39; 'data,': 0.39; 'strong': 0.39; 'doing': 0.39; 'subject:: ': 0.39; 'change': 0.40; 'to:addr:python.org': 0.40; 'platforms': 0.40; 'data': 0.40; 'issues': 0.40; 'got': 0.40; '11:26': 0.84; 'disagreement': 0.84; 'subject:Where': 0.84; 'subject:put': 0.84 |
| MIME-version | 1.0 |
| Content-transfer-encoding | 7BIT |
| Content-type | text/plain; CHARSET=US-ASCII; format=flowed |
| Date | Wed, 25 Jan 2012 12:48:47 -0600 |
| From | Evan Driscoll <edriscoll@wisc.edu> |
| Subject | Re: Where to put data |
| In-reply-to | <8184572.1820.1327512393386.JavaMail.geo-discussion-forums@prj1> |
| To | python-list@python.org |
| X-Spam-Report | AuthenticatedSender=yes, SenderIP=128.105.181.52 |
| X-Spam-PmxInfo | Server=avs-9, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.1.25.183315, SenderIP=128.105.181.52 |
| References | <8184572.1820.1327512393386.JavaMail.geo-discussion-forums@prj1> |
| User-Agent | Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5084.1327517343.27778.python-list@python.org> (permalink) |
| Lines | 35 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1327517343 news.xs4all.nl 6897 [2001:888:2000:d::a6]:53818 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:19419 |
Show key headers only | View raw
I would just like to make a strong plea that you make it possible to install in places other than /usr. Bascially, 'python setup.py install --prefix /some/alternative/place' should work. Evan On 01/25/2012 11:26 AM, bvdp wrote: > I'm having a disagreement with a buddy on the packaging of a program we're doing in Python. It's got a number of modules and large number of library files. The library stuff is data, not code. > > I'd like to put the modules in /usr/lib/pythonX.Y/mymodules or wherever setup.py decides. And the data in /usr/share/lib/myprogram. > > My buddy says, that it'll be hard to be consistant in the /usr/share/.. when we consider platforms other than linux. So, he wants: > > /usr/lib/pythonX.Y/myprogram > mymodules ... > mydata .... > > I've got 2 issues with this: > > 1. I don't know if putting data in the python tree is "legit". > 2. I'd have to do a lot of rewritting. My modules currently use: > > include mymodules.foobar > x=mymodules.foobar.func() > > and I would need to change that to: > > include myprogram.mymodules.foobar > > x=myprogram.mymodules.foobar.func() > > > unless there is python way to drop the "myprogram" bit?
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Where to put data bvdp <bob@mellowood.ca> - 2012-01-25 09:26 -0800
Re: Where to put data Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-25 10:33 -0800
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-25 14:27 -0800
Re: Where to put data Evan Driscoll <edriscoll@wisc.edu> - 2012-01-25 12:48 -0600
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-25 14:29 -0800
Re: Where to put data Michael Torrie <torriem@gmail.com> - 2012-01-25 20:30 -0700
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-26 08:30 -0800
Re: Where to put data Michael Torrie <torriem@gmail.com> - 2012-01-26 20:20 -0700
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-27 19:11 -0800
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-27 19:11 -0800
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-26 08:30 -0800
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-25 14:29 -0800
Re: Where to put data "Martin P. Hellwig" <martin.hellwig@gmail.com> - 2012-01-26 02:16 +0000
Re: Where to put data John Nagle <nagle@animats.com> - 2012-01-27 14:15 -0800
Re: Where to put data bvdp <bob@mellowood.ca> - 2012-01-27 19:13 -0800
csiph-web