Skip to content

Commit 50a6415

Browse files
committed
Fix mvn build - marvin warnings
1 parent 89a4a89 commit 50a6415

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

tools/marvin/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Marvin
2+
3+
Marvin is the Apache CloudStack python client written around the unittest framework.
4+
5+
## Overview
6+
7+
Marvin provides a Python-based client for Apache CloudStack. It offers utilities for testing and interacting with CloudStack deployments.
8+
9+
## License
10+
11+
Licensed under the Apache License, Version 2.0. See the LICENSE.txt file for details.

tools/marvin/mvn-setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def replaceVersion(fname, version):
3333
"""replace VERSION in setup.py"""
3434
with open(fname, 'r') as f:
3535
content = f.read()
36-
needle = '\nVERSION\s*=\s*[\'"][^\'"]*[\'"]'
36+
needle = r'\nVERSION\s*=\s*[\'"][^\'"]*[\'"]'
3737
# Ensure the version is PEP440 compliant
3838
version = version.replace('-', '+', 1)
3939
replacement = '\nVERSION = "%s"' % version

tools/marvin/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
maintainer_email="dev@cloudstack.apache.org",
3939
long_description="Marvin is the Apache CloudStack python "
4040
"client written around the unittest framework",
41-
platforms=("Any",),
41+
platforms=["Any"],
4242
url="https://builds.apache.org/job/cloudstack-marvin/",
4343
packages=["marvin", "marvin.cloudstackAPI",
4444
"marvin.lib", "marvin.config", "marvin.sandbox",

0 commit comments

Comments
 (0)