diff options
author | Monty Taylor <mordred@inaugust.com> | 2014-12-15 18:59:30 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2014-12-16 14:59:13 -0500 |
commit | b3678714aabd9c82a4ad389036e160a0819fd45c (patch) | |
tree | 696dc916240379867a3bedbfec794f2664d8591f /setup.cfg | |
parent | 1c89d18b6beecade6b7c9007b324e8cf0f486e22 (diff) | |
download | pbr-b3678714aabd9c82a4ad389036e160a0819fd45c.tar.gz |
Write and read more complex git sha info
Instead of encoding the git sha into the version string, add it to
a metadata file. This will allow us to get out of the business of
arguing with pip and setuptools about version info. In order to make
this really nice, provide a command line utility called "pbr" that has
subcommands to print out the metadata that we're now including in the
egg-info dir.
Change-Id: I35a1489c9ab637769218d1e6a26d1115a52a7051
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -38,6 +38,10 @@ distutils.setup_keywords = pbr = pbr.core:pbr distutils.commands = testr = pbr.testr_command:Testr +egg_info.writers = + pbr.json = pbr.packaging:write_pbr_json +console_scripts = + pbr = pbr.cmd.main:main [build_sphinx] all_files = 1 |