Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15001

services/daemons

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andrea.crotti.0@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.038
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'pypi': 0.04; 'scripts': 0.09; 'setup.py': 0.09; 'url:github': 0.09; '"python': 0.15; 'anymore.': 0.16; 'distutils': 0.16; 'suggestions?': 0.16; 'possibly': 0.16; 'file)': 0.18; 'interesting.': 0.18; 'received:74.125.82.174': 0.19; 'received:mail- wy0-f174.google.com': 0.19; '(which': 0.19; '(or': 0.23; 'windows': 0.26; "i'm": 0.27; 'server': 0.29; 'looks': 0.29; 'second': 0.29; 'robust': 0.30; 'changes': 0.31; 'list': 0.32; 'anyone': 0.32; 'it.': 0.33; 'to:addr:python-list': 0.33; "i've": 0.34; 'header:User-Agent:1': 0.34; 'message-id:@gmail.com': 0.34; 'subject:/': 0.34; 'things': 0.34; 'changes.': 0.34; 'similar': 0.35; 'running': 0.35; 'using': 0.37; 'run': 0.37; 'but': 0.37; 'something': 0.37; 'received:74.125.82': 0.38; 'some': 0.38; 'received:google.com': 0.38; 'should': 0.38; 'possible,': 0.39; 'option': 0.39; 'to:addr:python.org': 0.39; 'received:74.125': 0.39; 'might': 0.40; 'discovering': 0.84; 'from:addr:andrea.crotti.0': 0.84; 'from:name:andrea crotti': 0.84; 'windows)': 0.84; 'service?': 0.91; 'ships': 0.91; 'subject:services': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=VJoAf8hFrc8uF5kr2FMdz080WrX2C0fT27UYJeiRBjE=; b=NVAksaB6v5LoXWxA4raP/H9757KqV0EMwvrkYjLWj2uT1RADXVEYWMPihwW8gLev1p AMKtG3+GrYk6e9uC9K2NBhpMpLeOUVcSqDsTAxVgYlgrDXrDWcEFte2mmVj4dYOjEWfU P5O/B6pTuMO4a2IW14fY11QTmUIyAtq9yj0Y8=
Date Wed, 26 Oct 2011 15:22:00 +0100
From Andrea Crotti <andrea.crotti.0@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111001 Thunderbird/7.0.1
MIME-Version 1.0
To python-list@python.org
Subject services/daemons
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
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.2228.1319638931.27778.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1319638931 news.xs4all.nl 6918 [2001:888:2000:d::a6]:42330
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:15001

Show key headers only | View raw


Running pypiserver as a service?

I'm writing some scripts which in theory should be able to:
- start up a local pypi server as a daemon (or well a service on Windows)

- run "python setup.py develop" on a potentially very big set of eggs,
   possibly discovering automatically for changes.
   In theory using develop changes should be automatically seen, but if I
   move/rename something of course things might not work anymore.

- run/debug/develop applications using this big set of eggs.
   On the distutils list it was suggested to use the "-m" option to
   easy_install, which avoids writing on the global easy_install.pth,
   which is one of the current problems.

For the first one reading I thought I might use pypiserver (which ships
also as a single file) and create a windows service/unix daemon from it.

For the second I've seen watchdog:
https://github.com/gorakhargosh/watchdog/ which looks interesting.

As last thing the whole process should be as transparent and robust as
possible, anyone did something similar or has suggestions?

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

services/daemons Andrea Crotti <andrea.crotti.0@gmail.com> - 2011-10-26 15:22 +0100

csiph-web