Hi,
I've just uploaded pypiserver 1.0.1 to the python package index.
pypiserver is a minimal PyPI compatible server. It can be used to serve
a set of packages and eggs to easy_install or pip.
pypiserver is easy to install (i.e. just 'pip install pypiserver'). It
doesn't have any external dependencies.
http://pypi.python.org/pypi/pypiserver/ should contain enough
information to easily get you started running your own PyPI server in a
few minutes.
The code is available on github: https://…
[View More]github.com/schmir/pypiserver
Changes in version 1.0.1
------------------------
- make 'pypi-server -Ux' work on windows
('module' object has no attribute 'spawnlp',
https://github.com/schmir/pypiserver/issues/26)
- use absolute paths in hrefs for root view
(https://github.com/schmir/pypiserver/issues/25)
- add description of uploads to the documentation
- make the test suite work on python 3
- make pypi-server-standalone work with python 2.5
--
Cheers
Ralf
[View Less]
New submission from Brian Lauber:
I wrote a module that registers an "atexit" handler. However, when I executed the unit tests for this module via setuptools, the "atexit" handler would never be invoked:
python ./setup.py test
The root cause of the issue is that fact that setuptool's "test" command un-loads modules between each test run. This means that the 'atexit' module is unavailable when Python exits, which means that the callbacks are never invoked.
It is possible to prevent …
[View More]setuptools from un-loading the 'atexit' module by importing 'atexit' at the beginning of the setup.py file. This allows the 'atexit' handlers to run, but they ultimately fail because all of the modules have already been unloaded.
You can find a more complete write-up on the issue here:
https://briandamaged.org/blog/?p=1181
----------
messages: 701
nosy: Brian.Lauber
priority: bug
status: unread
title: "test" command breaks 'atexit' handlers
_______________________________________________
Setuptools tracker <setuptools(a)bugs.python.org>
<http://bugs.python.org/setuptools/issue147>
_______________________________________________
[View Less]
The main goal of this release is to provide an update
for buildout 1 that won't upgrade itself to buildout 2.
To get the release, download the new buildout 1 bootstrap.py script
from http://downloads.buildout.org/1/bootstap.py:
wget http://downloads.buildout.org/1/bootstap.py
and use it to bootstrap your projects. Because this is a non-final
release, you need to use the -t option when you run it:
python bootstrap.py -t
Please try it and let me know if you have any problems. If I don't
…
[View More]hear anything, I'll release 1.7.0 final in a week or so.
Jim
--
Jim Fulton
http://www.linkedin.com/in/jimfulton
Jerky is better than bacon! http://zo.pe/Kqm
[View Less]