Adding XMP UUID write support. Still needs tests. #104

This commit is contained in:
John Evans 2013-10-20 11:57:51 -04:00
commit 0e302a5710
4 changed files with 34 additions and 12 deletions

View file

@ -42,7 +42,7 @@ kwargs['classifiers'] = clssfrs
# Get the version string. Cannot do this by importing glymur!
version_file = os.path.join('glymur', 'version.py')
with open('glymur/version.py', 'rt') as fptr:
with open(version_file, 'rt') as fptr:
contents = fptr.read()
match = re.search('version\s*=\s*"(?P<version>\d*.\d*.\d*.*)"\n', contents)
kwargs['version'] = match.group('version')