Remove Java from setup.py

This commit is contained in:
James R. Barlow
2015-08-14 00:44:56 -07:00
parent a4702bff22
commit f6f4705ea3
-14
View File
@@ -53,9 +53,6 @@ installing the RPM for {package}.
def _error_trailer(program, package, optional, **kwargs):
if program == 'java':
return # You're fucked
if optional:
print(okay_its_optional.format(**locals()), file=sys.stderr)
else:
@@ -152,12 +149,6 @@ if command.startswith('install') or \
package='unpaper',
optional=True
)
check_external_program(
program='java',
need_version='1.5.0',
package='Java Runtime Environment',
version_check_args=['-version']
)
check_external_program(
program='qpdf',
need_version='5.0.0',
@@ -212,10 +203,5 @@ setup(
'ocrmypdf = ocrmypdf.main:run_pipeline'
],
},
eager_resources=[
'ocrmypdf/jhove/bin/*.jar',
'ocrmypdf/jhove/conf/*.conf',
'ocrmypdf/jhove/lib/*.jar'
],
include_package_data=True,
zip_safe=False)