Publié par patrick le février 28, 2010
pycon 2010 Atlanta
State of python packaging
- http://blip.tv/file/3259547 (‘:Deployment, development, packaging, and a little bit of the cloud’ by Ian Bicking)
- http://blip.tv/file/2061678 (‘Eggs and Buildout Deployment in Python, Puzzled about Python eggs and packages? Wondering how to repeatably pull together collections of packages into standalone development, testing and deployment environments, all while managing inter-dependencies? In this participatory tutorial, we’ll start with distutils, walk through using eggs in the cheeseshop and creating your own eggs, touch a bit on using virtualenv to set up a development environment, and then dig into using zc.buildout to rigorously control assembly specifications, with build recipes, versioning and dependency management. We’ll close by showing how to create your own recipes. Attendees are strongly encouraged to bring a laptop or partner with someone who does.’)
- http://blip.tv/file/2080263 (‘How I Distribute Python applications on Windows – py2exe & InnoSetup’ by Brian Dorsey There are many deployment options for Python code. I’ll share what has worked well for me on Windows, packaging command line tools and services using py2exe and InnoSetup. I’ll demonstrate a simple build script which creates windows binaries and an InnoSetup installer in one step. In addition, I’ll go over common errors which come up when using py2exe and hints on troubleshooting them. This is a short talk, so there will be a follow-up Open Space session to share experience and help each other solve distribution problems )
- http://blip.tv/file/2072580 (‘[VIDEO HAS ISSUES: no audio first 1.5m] If you’ve ever created a nifty application that makes people’s lives easier you know the truly hard part is convincing others to use it. One way to increase the number of people installing your software is to convince Linux distributions to package your software so that their end users can install by using the system tools they’re used to. One way of convincing them is by making your application easy to package.’)
- http://blip.tv/file/3263882 (‘New *and* Improved: Coming changes to unittest, the standard library test framework’ by Michael Foord)
- http://blip.tv/file/3261338 (‘Easy command-line applications with cmd and cmd2′ by Catherine Devlin)
- http://catherine.devlin.googlepages.com/cmd2.html (‘cmd2 is a tool for writing command-line interactive applications. It is based on the Python Standard Library’s cmd module, and can be used anyplace cmd is used simply by importing cmd2 instead’)
- http://blip.tv/file/3254256 (‘Understanding the Python GIL by David Beazley‘)
Publié dans 2010, Génie logiciel, python, tests | Tagué: Brian Dorsey, Catherine Devlin, innosetup, Michael Foord, py2exe, Tarek Ziadé | Poster un commentaire »
Publié par patrick le novembre 10, 2009
curl -0 http://python-distribute.org/distribute_setup.py > distribute_setup.py
sudo python distribute_setup.py
sudo easy_install -U pip
http://pypi.python.org/pypi/pip/0.6 (‘pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be pip-installable as well…The main website for pip is pip.openplans.org. You can also install the in-development version of pip with easy_install pip==dev. ‘)
- http://pypi.python.org/pypi/virtualenv/1.4.2 (‘virtualenv is a successor to workingenv, and an extension of virtual-python.’)
On behalf of the Distribute team, I am pleased to announce the 0.6.7
release of Distribute.
As usual, availabe at PyPI: http://pypi.python.org/pypi/distribute
Most noticeable changes in 0.6.7 are:
- now the develop command supports the --user option, so it can use
the per-user site packages (PEP 370)
- the generated scripts now wrap their call to the script entry point
in the standard "if name == 'main'"
- better errors handling in PackageIndex when files and pages are
visited by easy_install
- a virtualenv-compatible version, so the next virtualenv release will
be able to provide a --distribute option.
You can visit http://pypi.python.org/pypi/distribute#id2 for a full
We are now starting the 0.6.8 work in parallel of 0.7.x development,
with more bugfixes coming up.
This is just a placeholder for bootstrap files for Distribute, and nightly builds for Distutils
- http://faassen.n–tree.net/blog/view/weblog/2009/11/09/0 (‘A history of Python packaging’)
Publié dans 2009, distribute, package_management, python | Tagué: Distribute, Tarek Ziadé | Poster un commentaire »
Publié par patrick le août 9, 2009
Grâce au travail de Tarek Ziadé (http://twitter.com/tarek_ziade, http://ziade.org/blog) le fork amical de setuptools est sorti en version 0.6 le dimanche 9 août 2009:
- http://pypi.python.org/pypi/distribute (’Download, build, install, upgrade, and uninstall Python packages — easily! Distribute is a friendly fork of the Setuptools project. Distribute is a friendly fork of the Setuptools project. )
- http://tarekziade.wordpress.com/2009/07/22/preparing-to-release-distribute-0-6/ (’According to the poll, The name of the fork will be Distribute ! The code should not be changed anymore at this point, and I am working on the bootstraping so installing Distribute will work with an existing Setuptools installation and will replace it for the applications that requires it. This is done by detecting an installation of Setuptools, and replacing it with a fake installation. This means that once you’ve installed Distribute, applications and especially installers will think that setuptools 0.6c9 is installed.That’s pretty strong and intrusive, but required for a simple switch : even if the programs you are using have a setuptools dependency, they will work without requiring any change on the code or in their setup.py files. Same goes for zc.buildout apps.
Publié dans package_management, python | Tagué: Distribute, Tarek Ziadé | Poster un commentaire »