forked from oostendo/python-zxing
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept PIL.Image instead of filename
Ping #21
- Loading branch information
Showing
5 changed files
with
54 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
nose>=1.0 | ||
|
||
pillow>=3.0,<6.0; python_version < '3.5' | ||
pillow>=3.0,<8.0; python_version >= '3.5' and python_version < '3.6' | ||
pillow>=8.0; python_version >= '3.6' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,13 +46,21 @@ def download_java_files(force=False): | |
name='zxing', | ||
version=version_pep, | ||
description="Wrapper for decoding/reading barcodes with ZXing (Zebra Crossing) library", | ||
long_description="More information: https://github.com/dlenski/python-zxing", | ||
long_description=open('README.md').read(), | ||
long_description_content_type='text/markdown', | ||
url="https://github.com/dlenski/python-zxing", | ||
author='Daniel Lenski', | ||
author_email='[email protected]', | ||
packages=['zxing'], | ||
package_data={'zxing': download_java_files()}, | ||
entry_points={'console_scripts': ['zxing=zxing.__main__:main']}, | ||
extras_require={ | ||
"Image": [ | ||
"pillow>=3.0,<6.0; python_version < '3.5'", | ||
"pillow>=3.0,<8.0; python_version >= '3.5' and python_version < '3.6'", | ||
"pillow>=8.0; python_version >= '3.6'", | ||
] | ||
}, | ||
install_requires=open('requirements.txt').readlines(), | ||
tests_require=open('requirements-test.txt').readlines(), | ||
test_suite='nose.collector', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters