Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data_files copied to weird location when installed through setuptools #104

Closed
loathingKernel opened this issue May 27, 2021 · 1 comment
Closed

Comments

@loathingKernel
Copy link

loathingKernel commented May 27, 2021

Data files are copied to a weird path when installed throught setup tools as shown by the following log

running install_data
creating /tmp/makepkg/vitables/pkg/vitables/usr/*
copying ANNOUNCE.txt -> /tmp/makepkg/vitables/pkg/vitables/usr/*
copying ChangeLog.txt -> /tmp/makepkg/vitables/pkg/vitables/usr/*
copying INSTALL.txt -> /tmp/makepkg/vitables/pkg/vitables/usr/*
copying LICENSE.txt -> /tmp/makepkg/vitables/pkg/vitables/usr/*
copying README.txt -> /tmp/makepkg/vitables/pkg/vitables/usr/*
copying VERSION -> /tmp/makepkg/vitables/pkg/vitables/usr/*

Installed by running

python setup.py install --root="/tmp/makepkg/vitables/pkg/vitables" --optimize=1

The expected location would be something like /usr/share/doc/vitables depending on the distribution.

@uvemas
Copy link
Owner

uvemas commented Aug 19, 2023

In the 3.0.3 version setuptools is not required. Packages are built via hatch.

@uvemas uvemas closed this as completed Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants