comses / miracle

Repeatable data analysis workflows for computational models
1 stars 3 forks source link

Dependencies - What can we get rid of? #13

Closed cpritcha closed 8 years ago

cpritcha commented 9 years ago

Low hanging fruit

pytest - not used anywhere

pyunpack, patool - if we were willing to have only zip file archive uploads (instead of .7z, .bzip2 etcetera). That would require some refactoring and adding a zip file extraction package as a dependency.

warmdev commented 9 years ago

We should have 7z. For csv files the compressed file can be much smaller than zip.

alee commented 9 years ago

Can we replace pyunpack with just patool?

cpritcha commented 9 years ago

We could get rid of pyunpack but we would have to wrap patool. The pyunpack package hasn't been updated in a while (~2 years) but it is really short (a few hundred lines) and it wouldn't be too hard to change if we need to.

alee commented 9 years ago

the hachoir* packages are screwing up my django shell (which I use a ton to interact with the DB and one-offs during development). It looks like they are only needed for the MP4Loader, which isn't essential. Is this removable?

cpritcha commented 9 years ago

hachoir is only needed for the MP4Loader. It is removable.