mirror of
https://github.com/niess/python-appimage.git
synced 2026-03-14 04:10:15 +01:00
Improve python selection when building apps
This commit is contained in:
7
python_appimage/utils/version.py
Normal file
7
python_appimage/utils/version.py
Normal file
@@ -0,0 +1,7 @@
|
||||
__all__ = ['tonumbers']
|
||||
|
||||
|
||||
def tonumbers(s):
|
||||
'''Convert a version string to a list of numbers, for comparison
|
||||
'''
|
||||
return [int(v) for v in s.split('.')]
|
||||
Reference in New Issue
Block a user