From 0826f7267d4125c0fa0e151cf523789cb50b7c3d 2010-06-04 00:45:44 From: Fernando Perez Date: 2010-06-04 00:45:44 Subject: [PATCH] Small updates for git-based release. --- diff --git a/IPython/Release.py b/IPython/Release.py index 08a48c0..60fbce3 100644 --- a/IPython/Release.py +++ b/IPython/Release.py @@ -20,16 +20,15 @@ name = 'ipython' # because bdist_rpm does not accept dashes (an RPM) convention, and # bdist_deb does not accept underscores (a Debian convention). -development = True # change this to False to do a release +development = False # change this to False to do a release version_base = '0.10.1' branch = 'ipython' -revision = '1215' if development: if branch == 'ipython': - version = '%s.bzr.r%s' % (version_base, revision) + version = '%s.git' % (version_base) else: - version = '%s.bzr.r%s.%s' % (version_base, revision, branch) + version = '%s.git.%s' % (version_base, branch) else: version = version_base diff --git a/IPython/__init__.py b/IPython/__init__.py index 2fb3281..f07db8a 100644 --- a/IPython/__init__.py +++ b/IPython/__init__.py @@ -66,7 +66,6 @@ __author__ = '%s <%s>\n%s <%s>\n%s <%s>' % \ Release.authors['Nathan'] ) __license__ = Release.license __version__ = Release.version -__revision__ = Release.revision # Namespace cleanup del name,glob,loc diff --git a/MANIFEST.in b/MANIFEST.in index 880dfd5..2d70112 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -30,3 +30,4 @@ global-exclude .dircopy.log global-exclude .svn global-exclude .bzr global-exclude .hgignore +global-exclude .git