Adding XMP UUID write support. Still needs tests. #104
This commit is contained in:
parent
016443faef
commit
0e302a5710
4 changed files with 34 additions and 12 deletions
2
setup.py
2
setup.py
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue