summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorembray <embray@stsci.edu>2011-07-07 12:38:53 -0400
committerembray <embray@stsci.edu>2011-07-07 12:38:53 -0400
commitebc288f142741cf8863c1d520350d618753a7f30 (patch)
tree412c4823a9d811009dcb1cc060184ed557bb3ec4 /setup.cfg
parent433054acfc0593f83bd8ee650ac7ceb991e3c5e8 (diff)
downloadstwcs_hcf-ebc288f142741cf8863c1d520350d618753a7f30.tar.gz
Updated packages to use the svn_info hooks, and to get their version numbers from pkg_resources. I only did this with packages that were already using __svn_version__, __full_svn_info__, etc. to begin with.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13327 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 4db0ee5..74e63b1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,5 +29,13 @@ packages =
[global]
commands = stsci.distutils.command.easier_install.easier_install
+[sdist]
+pre-hook.svn-info = stsci.distutils.hooks.svn_info_pre_hook
+post-hook.svn-info = stsci.distutils.hooks.svn_info_post_hook
+
+[build_py]
+pre-hook.svn-info = stsci.distutils.hooks.svn_info_pre_hook
+post-hook.svn-info = stsci.distutils.hooks.svn_info_post_hook
+
[easy_install]
find-links = ..