reloc/python3: add install.sh on python relocatable package

To support nonroot installation on scylla-python3, add install.sh on
scylla-python3 relocatable package.
This commit is contained in:
Takuya ASADA
2019-08-09 17:09:01 +09:00
parent 2de14e0800
commit cfa8885ae1
6 changed files with 88 additions and 10 deletions

View File

@@ -235,6 +235,7 @@ ar.add('dist/debian/python3')
ar.add('build/python3/SCYLLA-RELEASE-FILE', arcname='SCYLLA-RELEASE-FILE')
ar.add('build/python3/SCYLLA-VERSION-FILE', arcname='SCYLLA-VERSION-FILE')
ar.add('build/SCYLLA-PRODUCT-FILE', arcname='SCYLLA-PRODUCT-FILE')
ar.add('python3/install.sh', arcname='install.sh')
for p in ['pyhton3-libs'] + packages:
pdir = pathlib.Path('/usr/share/licenses/{}/'.format(p))
if pdir.exists():