CHANGES
=======
+5.3.1
+-----
+
+
5.3.0
-----
* Stop using pbr sphinx integration
* Switch to release.o.o for constraints
* Make WSGI tests listen on localhost
+* Fix Windows support
* Allow git-tags to be SemVer compliant
* Read description file as utf-8
* Add openstack-tox-py37 job
* Set subparser argument required
* Remove neutron-lbaas
+* Install more dependencies for integration testing
* Update Sphinx requirement
* Fix white space handling in file names
Metadata-Version: 2.1
Name: pbr
-Version: 5.3.0
+Version: 5.3.1
Summary: Python Build Reasonableness
Home-page: https://docs.openstack.org/pbr/latest/
Author: OpenStack
Metadata-Version: 2.1
Name: pbr
-Version: 5.3.0
+Version: 5.3.1
Summary: Python Build Reasonableness
Home-page: https://docs.openstack.org/pbr/latest/
Author: OpenStack
# strip the quotes off individual path components because os.walk cannot
# handle paths like: "'i like spaces'/'another dir'", so we will pass it
# "i like spaces/another dir" instead.
+
+ if os.name == 'nt':
+ # shlex cannot handle paths that contain backslashes, treating those
+ # as escape characters.
+ path = path.replace("\\", "/")
+ return "".join(shlex.split(path)).replace("/", "\\")
+
return "".join(shlex.split(path))
CSV_FIELDS = ()
+def shlex_split(path):
+ if os.name == 'nt':
+ # shlex cannot handle paths that contain backslashes, treating those
+ # as escape characters.
+ path = path.replace("\\", "/")
+ return [x.replace("/", "\\") for x in shlex.split(path)]
+
+ return shlex.split(path)
+
+
def resolve_name(name):
"""Resolve a name like ``module.object`` to an object and return it.
for line in in_cfg_value:
if '=' in line:
key, value = line.split('=', 1)
- key_unquoted = shlex.split(key.strip())[0]
+ key_unquoted = shlex_split(key.strip())[0]
key, value = (key_unquoted, value.strip())
if key in data_files:
# Multiple duplicates of the same package name;
# this is for backwards compatibility of the old
# format prior to d2to1 0.2.6.
prev = data_files[key]
- prev.extend(shlex.split(value))
+ prev.extend(shlex_split(value))
else:
- prev = data_files[key.strip()] = shlex.split(value)
+ prev = data_files[key.strip()] = shlex_split(value)
elif firstline:
raise errors.DistutilsOptionError(
'malformed package_data first line %r (misses '
'"=")' % line)
else:
- prev.extend(shlex.split(line.strip()))
+ prev.extend(shlex_split(line.strip()))
firstline = False
if arg == 'data_files':
# the data_files value is a pointlessly different structure
# TODO: Figure out how to get this on to the box properly
sudo apt-get update
-sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libffi-dev libldap2-dev libsasl2-dev ccache libkrb5-dev liberasurecode-dev libjpeg-dev
+sudo apt-get install -y --force-yes libvirt-dev libxml2-dev libxslt-dev libmysqlclient-dev libpq-dev libnspr4-dev pkg-config libsqlite3-dev libffi-dev libldap2-dev libsasl2-dev ccache libkrb5-dev liberasurecode-dev libjpeg-dev libsystemd-dev libnss3-dev libssl-dev
# FOR numpy / pyyaml
# The source list has been removed from our apt config so rather than