Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gajim gajim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 172
    • Issues 172
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • gajim
  • gajimgajim
  • Issues
  • #8964

Closed
Open
Created Mar 19, 2018 by Michal Schmidt@michich

setup.py install misses some files if used with "--skip-build"

Hello,

I am packaging Gajim for Fedora. The Fedora packaging guidelines for Python (https://fedoraproject.org/wiki/Packaging:Python) suggest using a two-step process. There are predefined RPM macros called %py3_build and %py3_install. See "Steps to reproduce" where I expand the main parts of the macros. The problem is several directories are missing in the installed tree when the installation is performed in these two steps.

Versions

  • OS: Fedora 27
  • Gajim version: 1.0.0
  • GTK version: gtk3-3.22.26-2.fc27.x86_64
  • Python-nbxmpp version: 0.6.4

Steps to reproduce the problem

  1. python3 setup.py build
  2. python3 setup.py install --skip-build --root /tmp/gajim-bad

Expected behavior

All the expected files should be installed.

Actual behavior

The resulting tree is missing the following data directories: /usr/local/share/{metainfo,applications,man,locale}

When "--skip-build" is not used, all files are installed as expected.

Assignee
Assign to
Time tracking