Prefer get_distribution
This commit is contained in:
1 parent
99ffa27f0e
commit
6245d0966d
1 file changed
+1
-1
+1
-1
@@ -13,7 +13,7 @@ project = 'skeleton'
|
||||
copyright = '2016 Jason R. Coombs'
|
||||
|
||||
# The short X.Y version.
|
||||
version = pkg_resources.require(project)[0].version
|
||||
version = pkg_resources.get_distribution(project).version
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version
|
||||
|
||||
|
||||
Reference in new issue
Block a user