Skip to content

Commit ef1b2f4

Browse files
committed
Dev: Add 'packaging' dependency to crmsh for version comparison
1 parent 927e7eb commit ef1b2f4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

crmsh.spec.in

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Requires: /usr/bin/which
5353
Requires: python3 >= 3.4
5454
Requires: python3-PyYAML
5555
Requires: python3-lxml
56+
Requires: python3-packaging
5657
BuildRequires: python3-lxml
5758
BuildRequires: python3-pip
5859
BuildRequires: python3-wheel

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
lxml
22
PyYAML
33
python-dateutil
4+
packaging

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
author_email='[email protected]',
1111
url='http://crmsh.github.io/',
1212
packages=['crmsh', 'crmsh.crash_test', 'crmsh.report', 'crmsh.prun'],
13-
install_requires=['lxml', 'PyYAML', 'python-dateutil'],
13+
install_requires=['lxml', 'PyYAML', 'python-dateutil', 'packaging'],
1414
scripts=['bin/crm'],
1515
data_files=[('/usr/share/crmsh', ['doc/crm.8.adoc'])],
1616
include_package_data=True)

0 commit comments

Comments
 (0)