Skip to content

Commit

Permalink
Merge pull request #72 from LeoHsiao1/dev
Browse files Browse the repository at this point in the history
Ready to release v2.6.2
  • Loading branch information
LeoHsiao1 authored Jun 26, 2021
2 parents f94c86b + 97731ed commit a065eaf
Show file tree
Hide file tree
Showing 33 changed files with 4 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/make_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ make_wheels(){
done
}

## Make wheel packages for any platform
# plat_type=
# plat_name=any
# EXIV2_LIB_FILE=$EXIV2_LIB_FILES
# make_wheels

# Make wheel packages for Linux platform
plat_type=linux
plat_name=manylinux2014_x86_64
Expand Down
6 changes: 3 additions & 3 deletions pyexiv2/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
sys_name = platform.system() or 'Unknown'
if sys_name == 'Linux':
ctypes.CDLL(os.path.join(lib_dir, 'libexiv2.so'))
sys.path.append(os.path.join(lib_dir, 'py{}-linux'.format(py_version)))
sys.path.append(os.path.join(lib_dir, 'py{}-linux'.format(py_version.replace('.',''))))
import exiv2api
elif sys_name == 'Darwin':
ctypes.CDLL(os.path.join(lib_dir, 'libexiv2.dylib'))
sys.path.append(os.path.join(lib_dir, 'py{}-darwin'.format(py_version)))
sys.path.append(os.path.join(lib_dir, 'py{}-darwin'.format(py_version.replace('.',''))))
import exiv2api
elif sys_name == 'Windows':
ctypes.CDLL(os.path.join(lib_dir, 'exiv2.dll'))
sys.path.append(os.path.join(lib_dir, 'py{}-win'.format(py_version)))
sys.path.append(os.path.join(lib_dir, 'py{}-win'.format(py_version.replace('.',''))))
import exiv2api
else:
raise RuntimeError('pyexiv2 can only run on Linux, Darwin or Windows system. But your system is {} .'.format(sys_name))
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
Empty file.
File renamed without changes.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name='pyexiv2',
version='2.6.1',
version='2.6.2',
author='LeoHsiao',
author_email='leohsiao@foxmail.com',
description='Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.',
Expand Down

0 comments on commit a065eaf

Please sign in to comment.