Tarskin / HappyTools

A tool for the (high-throughput) processing of HPLC data.
Apache License 2.0
34 stars 16 forks source link

Use specific imports rather than blanket imports to reduce Binary size #23

Closed Tarskin closed 5 years ago

Tarskin commented 6 years ago

import numpy as np imports more than is actually needed by the program, causing the Windows binary to be bigger than it has to be. This can be reduced by importing only the specific parts of numpy by using from numpy import foo.

Tarskin commented 5 years ago

Every file now uses a specific import where possible, therefore this issue will be closed.