You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing jaconv as a system package, README.rst and CHANGES.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.
The text was updated successfully, but these errors were encountered:
This reverts commit 6b51403.
The commit never made sense. It deleted MANIFEST, but a couple years
later MANIFEST.in got added right back, which included the same files
MANIFEST did. And the commit added a data_files argument to setup.py
which was totally invalid -- it tried to install README.rst as
/usr/README.rst which was clearly wrong.
The original intention appears to have been to borrow the side effect of
data_files, and have the files appear in the sdist so setup.py could
read them, but it was the wrong way to do it.
Fixes: ikegami-yukino#28
OS: Arch Linux
jaconv version: 0.3.4
jaconv
as a system package,README.rst
andCHANGES.rst
get installed to/usr/README.rst
and/usr/CHANGES.rst
.$HOME/.local/README.rst
and$HOME/.local/CHANGES.rst
.This happens with both
python setup.py install
andpip install
.The issue seems to be the
data_files
argument tosetup
in setup.py. This keyword is deprecated according to the documentation and removing it fixes the problem.The text was updated successfully, but these errors were encountered: