README.rst and CHANGES.rst are installed in wrong location
pekkarr opened this issue · 0 comments
pekkarr commented
OS: Arch Linux
jaconv version: 0.3.4
- When installing
jaconv
as a system package,README.rst
andCHANGES.rst
get installed to/usr/README.rst
and/usr/CHANGES.rst
. - When installing locally for the current user, the files get installed to
$HOME/.local/README.rst
and$HOME/.local/CHANGES.rst
.
This happens with both python setup.py install
and pip install
.
The issue seems to be the data_files
argument to setup
in setup.py. This keyword is deprecated according to the documentation and removing it fixes the problem.