broadinstitute / oncotator

Other
67 stars 32 forks source link

Please set zip_safe to False in setup.py #334

Open holtgrewe opened 9 years ago

holtgrewe commented 9 years ago

When installing as a ZIP file (uncompressed egg file), the Oncotator crashes with the following message

  File "PATH/TO/v1.5.1.0-foss-2015a-Python-2.7.9/bin/oncotator", line 9, in <module>
    load_entry_point('Oncotator==1.5.1.0', 'console_scripts', 'oncotator')()
  File "build/bdist.linux-x86_64/egg/oncotator/Oncotator.py", line 288, in main
  File "build/bdist.linux-x86_64/egg/oncotator/utils/RunSpecificationFactory.py", line 114, in create_run_spec
  File "build/bdist.linux-x86_64/egg/oncotator/utils/OncotatorCLIUtils.py", line 146, in create_output_renderer
  File "build/bdist.linux-x86_64/egg/oncotator/output/VcfOutputRenderer.py", line 89, in __init__
  File "build/bdist.linux-x86_64/egg/oncotator/utils/ConfigUtils.py", line 173, in createConfigParser
A

The quick fix is to set zip_safe to False in setup.py docs or by adjusting the corresponding code.