@@ -104,16 +104,13 @@ def write_version_py(filename=version_file_path):
104
104
105
105
cnt = """
106
106
# This file is generated by clawpack/setup.py.
107
- short_version = '%(version)s'
108
107
version = '%(version)s'
109
- full_version = '%(full_version)s'
110
108
git_revision = '%(git_revision)s'
111
109
"""
112
110
# Adding the git rev number needs to be done inside
113
111
# write_version_py(), otherwise the import of clawpack.version messes
114
112
# up the build under Python 3.
115
113
116
- FULLVERSION = VERSION
117
114
if os .path .exists ('.git' ):
118
115
GIT_REVISION = git_version ()
119
116
elif os .path .exists (version_file_path ):
@@ -124,7 +121,6 @@ def write_version_py(filename=version_file_path):
124
121
125
122
with open (filename , 'w' ) as a :
126
123
a .write (cnt % {'version' : VERSION ,
127
- 'full_version' : FULLVERSION ,
128
124
'git_revision' : GIT_REVISION })
129
125
130
126
del sys .path [0 ]
@@ -230,7 +226,6 @@ def setup_package(setup_dict, subpackages):
230
226
license = 'BSD' ,
231
227
classifiers = [_f for _f in CLASSIFIERS .split ('\n ' ) if _f ],
232
228
platforms = ["Linux" , "Solaris" , "Mac OS-X" , "Unix" ],
233
- version = VERSION ,
234
229
)
235
230
236
231
# python setup.py git-dev sets up subpackages
0 commit comments