ANN: setuptoolsbzr 0.2 - a setuptools plugin for Bazaar
Barry Warsaw
barry at python.org
Sat Jul 21 16:31:47 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bazaar[1] is a distributed version control system that provides many
useful features over second generation vcs's like Subversion, and
it's written in Python.
setuptoolsbzr is a plugin enabling Bazaar support for the also
awesome setuptools[2] enhancements to Python's distutils. With this
plugin, you can manage your projects under Bazaar and setuptools will
be able to find version controlled files when it creates packages of
your project.
To use, all you need to do is add the following to your setup()
function:
setup(
# ...
entry_points = {
'setuptools.file_finders': [
'bzr = setuptoolsbzr:find_files_for_bzr',
],
},
setup_requires = [
'setuptoolsbzr',
],
)
setuptools will do the rest. You can of course grab the
setuptoolsbzr package separately from the Python Cheeseshop[3].
One caveat: setuptoolsbzr requires that either the command line
program bzr(1) be available on your $PATH or that the bzrlib package
be installed in your Python's site-packages. setuptoolsbzr has a
dependency on the 'bzr' package but this dependency is disabled due
to a minor bug in the bzr Cheeseshop tarball[4]. This may not affect
you because why would you want to use setuptoolsbzr if you didn't
already have bzr installed? For now though, just install Bazaar
manually via the tarball available on the bazaar-vcs.org site, or
your OS's package manager and you should be good to go. When the bug
is fixed, I'll update setuptoolsbzr accordingly.
Enjoy,
- -Barry
[1] http://bazaar-vcs.org
[2] http://peak.telecommunity.com/DevCenter/setuptools
[3] http://cheeseshop.python.org/pypi/setuptoolsbzr
[4] https://bugs.launchpad.net/launchpad/+bug/125521
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQCVAwUBRqIY1HEjvBPtnXfVAQIj/gP+KbeH95d3kLaQK+1EgT2TvjNrBzhyBOfp
rmBGtnzIxmOm2mreo4OzFF1VHrnDDhSonfLKKlCRrfT08B2bxUp6Jybvjv57vAa2
0O4E6uBkmjeNKMTCbUmHVwBaucubQWAggW6C7N3oOUHfP5jl5yOMk1x3FUQFjMyI
emCxSm2ql2c=
=XQHM
-----END PGP SIGNATURE-----
More information about the Python-announce-list
mailing list