Antoine Pitrou created ARROW-3029:
-------------------------------------

             Summary: [Python] pkg_resources is slow
                 Key: ARROW-3029
                 URL: https://issues.apache.org/jira/browse/ARROW-3029
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
    Affects Versions: 0.10.0
            Reporter: Antoine Pitrou
            Assignee: Antoine Pitrou


Importing and calling {{pkg_resources}} at pyarrow import time to get the 
version number is slow (around 200 ms. here, out of 640 ms. total for importing 
pyarrow).

Instead we could generate a version file, which seems possible using 
{{setuptools_scm}}'s {{write_to}} parameter: 
https://github.com/pypa/setuptools_scm/#configuration-parameters




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to