Merge pull request #219 from FelixSchwarz/fixed-wheel-requirements
use conditional requirements to ensure "chardet" is always required on Python 3pull/306/head
commit
eae70b999c
4
setup.py
4
setup.py
|
@ -3,9 +3,7 @@ import sys
|
|||
|
||||
import pdfminer as package
|
||||
|
||||
requires = ['six', 'pycryptodome', 'sortedcontainers']
|
||||
if sys.version_info >= (3, 0):
|
||||
requires.append('chardet')
|
||||
requires = ['six', 'pycryptodome', 'sortedcontainers', 'chardet ; python_version > "3.0"']
|
||||
|
||||
setup(
|
||||
name='pdfminer.six',
|
||||
|
|
Loading…
Reference in New Issue