Merge pull request #219 from FelixSchwarz/fixed-wheel-requirements

use conditional requirements to ensure "chardet" is always required on Python 3
pull/306/head
Pieter Marsman 2019-10-13 19:57:05 +02:00 committed by GitHub
commit eae70b999c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -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',