diff options
author | Michael Trier <mtrier@gmail.com> | 2008-06-01 21:44:29 -0400 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2008-06-01 21:44:29 -0400 |
commit | b919010b0459b2540fb609c5d1aad0b8dc0fab01 (patch) | |
tree | 70feb16bcad481ca8fb5caa25e46fcb57ed1656b | |
parent | eba67171bf6ea653dfb6a6ae288f3c1d10829870 (diff) | |
download | gitpython-b919010b0459b2540fb609c5d1aad0b8dc0fab01.tar.gz |
put version stuff back.
-rw-r--r-- | lib/git/__init__.py | 5 | ||||
-rw-r--r-- | setup.py | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/git/__init__.py b/lib/git/__init__.py index 54f77baf..f38dd220 100644 --- a/lib/git/__init__.py +++ b/lib/git/__init__.py @@ -1,10 +1,7 @@ import os import inspect -# grab the version information -v = open(os.path.join(os.path.dirname(__file__), '..', '..', 'VERSION')) -__version__ = v.readline().strip() -v.close() +__version__ = 'svn' from git.actor import Actor from git.blob import Blob @@ -28,7 +28,7 @@ class sdist(_sdist): if hasattr(os, 'link') and path.exists(dest): os.unlink(dest) self.copy_file(orig, dest) - # _stamp_version(dest) + _stamp_version(dest) def _stamp_version(filename): found, out = False, [] |