Commit 54d9831
Cosimo Lupo
version.py: add module exporting __version__ from package metadata, as defined by setuptools_scm
This is better than hard-coding the string in the source files.
I don't put this in the top-level booleanOperations.__init__ because importing pkg_resources module is relatively expensive and would create an overhead upon importing booleanOperations.1 parent e9262bd commit 54d9831
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments