Skip to content

Commit

Permalink
Do not use pkg_resources to determine version
Browse files Browse the repository at this point in the history
Significantly reduces import time
  • Loading branch information
cgohlke authored and drufat committed Apr 24, 2020
1 parent 5f2cbf4 commit 4b2edf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion triangle/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = __import__('pkg_resources').get_distribution('triangle').version
__version__ = '20190115.3'

from triangle.data import (
loads, load, get_data, show_data,
Expand Down

0 comments on commit 4b2edf1

Please sign in to comment.