Skip to content

Commit

Permalink
Drop svn version log
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 17, 2024
1 parent d731552 commit 0883063
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ def remove_prefix(name, prefix):

logging.basicConfig(level=getattr(logging,args[0].log),format='%(levelname)s:%(message)s',filename=args[0].log_file)
logging.debug('setup.py called with the following optional args\n %s\n argument parsing completed.',vars(args[0]))
try:
_p = Popen(["svnversion", "."], stdout=PIPE)
revision = _p.communicate()[0].decode('ascii')
except Exception:
revision = "unknown"
logging.debug('Source from svn revision {}'.format(revision[:-1])) # exclude newline

#If prefix is set, we want to allow installation in a directory that is not on PYTHONPATH
#and this is only possible with distutils, not setuptools
Expand Down Expand Up @@ -708,11 +702,8 @@ def fortran_extensionlists(self):
"""

version_txt = os.path.join('assimulo', 'version.txt')
if revision == "":
revision = "unknown"
with open(version_txt, 'w') as f:
f.write(VERSION + '\n')
f.write("r" + revision)

license_info=[place+os.sep+pck+os.sep+'LICENSE_{}'.format(pck.upper())
for pck in thirdparty_methods for place in ['thirdparty','lib']]
Expand Down

0 comments on commit 0883063

Please sign in to comment.