The specfile.tpl does not get installed without include_package_data=True.
specfile.tpl
include_package_data=True
rebased onto 9eca97de5c6b6bca1554a93de3987a5cdcec36ae
Rebased.
rebased onto 9dbe5c5de4c0873ed2f6254f78bb71e615c95c14
I've tried this patch and did: python3 setup.py install --root=tmp and this is the tree I get:
python3 setup.py install --root=tmp
tmp ├── etc │ └── R2spec │ └── repos.cfg └── usr ├── local │ ├── bin │ │ ├── R2rpm │ │ └── R2spec │ └── lib │ └── python3.7 │ └── site-packages │ ├── r2spec │ │ ├── build.py │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── build.cpython-37.pyc │ │ │ ├── __init__.cpython-37.pyc │ │ │ ├── r2spec_obj.cpython-37.pyc │ │ │ ├── rpackage.cpython-37.pyc │ │ │ └── spec.cpython-37.pyc │ │ ├── r2spec_obj.py │ │ ├── rpackage.py │ │ └── spec.py │ └── R2spec-4.2.1-py3.7.egg-info └── share └── man └── man1 ├── R2rpm.1 └── R2spec.1
As you can see the template file still doesn't get installed automatically :(
It works with pip, probably because it forces setuptools.
setuptools
Alright, with setuptools it works :)
Let's rebase and get this in :)
rebased onto 48eea90a6f972ccf8fb7076880c32bc4398bd45f
Pull-Request has been merged by pingou
The
specfile.tpldoes not get installed withoutinclude_package_data=True.