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

3.4.3: pep517 based build and instyall places files in incorrect locations #1039

Open
kloczek opened this issue Apr 29, 2022 · 1 comment
Open

Comments

@kloczek
Copy link

kloczek commented Apr 29, 2022

Looks like it is some issue with pep17 based build.
Content of the generated .whl archive

[tkloczko@devel-g2v dist]$ unzip -l blivet-3.4.3-py3-none-any.whl
Archive:  blivet-3.4.3-py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
     4986  02-01-2022 13:45   blivet/__init__.py
    14043  02-01-2022 13:45   blivet/actionlist.py
     9563  02-01-2022 13:45   blivet/arch.py
    46624  02-01-2022 13:45   blivet/blivet.py
     9454  02-01-2022 13:45   blivet/callbacks.py
    41757  04-29-2022 11:44   blivet/deviceaction.py
    79792  02-01-2022 13:45   blivet/devicefactory.py
    41238  02-01-2022 13:45   blivet/devicetree.py
     6303  02-01-2022 13:45   blivet/errors.py
     7768  02-01-2022 13:45   blivet/fcoe.py
     3716  02-01-2022 13:45   blivet/flags.py
     2436  02-01-2022 13:45   blivet/i18n.py
    22000  02-01-2022 13:45   blivet/iscsi.py
     6935  02-01-2022 13:45   blivet/mounts.py
    84871  02-01-2022 13:45   blivet/partitioning.py
     7233  02-01-2022 13:45   blivet/safe_dbus.py
     7154  02-01-2022 13:45   blivet/size.py
     2687  02-01-2022 13:45   blivet/storage_log.py
     3751  02-01-2022 13:45   blivet/threads.py
     3459  02-01-2022 13:45   blivet/tsort.py
    31981  02-01-2022 13:45   blivet/udev.py
    34721  02-01-2022 13:45   blivet/util.py
    14451  02-01-2022 13:45   blivet/zfcp.py
     1014  02-01-2022 13:45   blivet/dbus/__init__.py
     1982  02-01-2022 13:45   blivet/dbus/action.py
    10379  02-01-2022 13:45   blivet/dbus/blivet.py
     1732  02-01-2022 13:45   blivet/dbus/constants.py
     3154  02-01-2022 13:45   blivet/dbus/device.py
     2451  02-01-2022 13:45   blivet/dbus/format.py
     2971  02-01-2022 13:45   blivet/dbus/manager.py
     4683  02-01-2022 13:45   blivet/dbus/object.py
        0  02-01-2022 13:45   blivet/devicelibs/__init__.py
     1429  02-01-2022 13:45   blivet/devicelibs/btrfs.py
     2202  02-01-2022 13:45   blivet/devicelibs/crypto.py
     3521  02-01-2022 13:45   blivet/devicelibs/disk.py
    32101  02-01-2022 13:45   blivet/devicelibs/edd.py
     7685  02-01-2022 13:45   blivet/devicelibs/lvm.py
     1576  02-01-2022 13:45   blivet/devicelibs/mdraid.py
    24513  02-01-2022 13:45   blivet/devicelibs/raid.py
     1992  02-01-2022 13:45   blivet/devices/__init__.py
    23692  02-01-2022 13:45   blivet/devices/btrfs.py
     3726  02-01-2022 13:45   blivet/devices/cache.py
     7659  02-01-2022 13:45   blivet/devices/container.py
    12301  02-01-2022 13:45   blivet/devices/device.py
    25634  02-01-2022 13:45   blivet/devices/disk.py
    10118  02-01-2022 13:45   blivet/devices/dm.py
     5287  02-01-2022 13:45   blivet/devices/file.py
     6618  02-01-2022 13:45   blivet/devices/lib.py
     4458  02-01-2022 13:45   blivet/devices/loop.py
     8403  02-01-2022 13:45   blivet/devices/luks.py
   104781  02-01-2022 13:45   blivet/devices/lvm.py
    29633  02-01-2022 13:45   blivet/devices/md.py
     2087  02-01-2022 13:45   blivet/devices/network.py
     3031  02-01-2022 13:45   blivet/devices/nfs.py
     3743  02-01-2022 13:45   blivet/devices/nodev.py
     2871  02-01-2022 13:45   blivet/devices/optical.py
    38653  02-01-2022 13:45   blivet/devices/partition.py
     4820  02-01-2022 13:45   blivet/devices/raid.py
    30792  02-01-2022 13:45   blivet/devices/storage.py
        0  02-01-2022 13:45   blivet/events/__init__.py
     4285  02-01-2022 13:45   blivet/events/changes.py
    11201  02-01-2022 13:45   blivet/events/handler.py
    11418  02-01-2022 13:45   blivet/events/manager.py
    25419  02-01-2022 13:45   blivet/formats/__init__.py
     2225  02-01-2022 13:45   blivet/formats/biosboot.py
    22268  02-01-2022 13:45   blivet/formats/disklabel.py
     4031  02-01-2022 13:45   blivet/formats/dmraid.py
    48225  02-01-2022 13:45   blivet/formats/fs.py
     1573  02-01-2022 13:45   blivet/formats/fslib.py
    17959  02-01-2022 13:45   blivet/formats/luks.py
     7171  02-01-2022 13:45   blivet/formats/lvmpv.py
     4047  02-01-2022 13:45   blivet/formats/mdraid.py
     2903  02-01-2022 13:45   blivet/formats/multipath.py
     3619  02-01-2022 13:45   blivet/formats/prepboot.py
     7795  02-01-2022 13:45   blivet/formats/swap.py
       38  02-01-2022 13:45   blivet/populator/__init__.py
    20284  02-01-2022 13:45   blivet/populator/populator.py
     2493  02-01-2022 13:45   blivet/populator/helpers/__init__.py
     2712  02-01-2022 13:45   blivet/populator/helpers/boot.py
     4453  02-01-2022 13:45   blivet/populator/helpers/btrfs.py
     2082  02-01-2022 13:45   blivet/populator/helpers/devicepopulator.py
     9348  02-01-2022 13:45   blivet/populator/helpers/disk.py
     6349  02-01-2022 13:45   blivet/populator/helpers/disklabel.py
     2468  02-01-2022 13:45   blivet/populator/helpers/dm.py
     3992  02-01-2022 13:45   blivet/populator/helpers/dmraid.py
     4103  02-01-2022 13:45   blivet/populator/helpers/formatpopulator.py
     2590  02-01-2022 13:45   blivet/populator/helpers/loop.py
     6019  02-01-2022 13:45   blivet/populator/helpers/luks.py
    19727  04-29-2022 11:44   blivet/populator/helpers/lvm.py
     8471  02-01-2022 13:45   blivet/populator/helpers/mdraid.py
     2566  02-01-2022 13:45   blivet/populator/helpers/multipath.py
     2064  02-01-2022 13:45   blivet/populator/helpers/optical.py
     4678  02-01-2022 13:45   blivet/populator/helpers/partition.py
     2869  02-01-2022 13:45   blivet/populator/helpers/populatorhelper.py
      149  02-01-2022 13:45   blivet/static_data/__init__.py
     3523  02-01-2022 13:45   blivet/static_data/luks_data.py
     4047  02-01-2022 13:45   blivet/static_data/lvm_info.py
     2431  02-01-2022 13:45   blivet/static_data/mpath_info.py
     5359  02-01-2022 13:45   blivet/static_data/nvdimm.py
        0  02-01-2022 13:45   blivet/tasks/__init__.py
    20368  02-01-2022 13:45   blivet/tasks/availability.py
     1598  02-01-2022 13:45   blivet/tasks/dfresize.py
     5413  02-01-2022 13:45   blivet/tasks/fsck.py
     3085  02-01-2022 13:45   blivet/tasks/fsinfo.py
     3186  02-01-2022 13:45   blivet/tasks/fslabeling.py
     5790  02-01-2022 13:45   blivet/tasks/fsminsize.py
    10426  02-01-2022 13:45   blivet/tasks/fsmkfs.py
     6033  02-01-2022 13:45   blivet/tasks/fsmount.py
     3723  02-01-2022 13:45   blivet/tasks/fsreadlabel.py
     6128  02-01-2022 13:45   blivet/tasks/fsresize.py
     4838  02-01-2022 13:45   blivet/tasks/fssize.py
     2961  02-01-2022 13:45   blivet/tasks/fssync.py
     1784  02-01-2022 13:45   blivet/tasks/fstask.py
     2127  02-01-2022 13:45   blivet/tasks/fsuuid.py
     3362  02-01-2022 13:45   blivet/tasks/fswritelabel.py
     1949  02-01-2022 13:45   blivet/tasks/fswriteuuid.py
     3355  02-01-2022 13:45   blivet/tasks/lukstasks.py
     2885  02-01-2022 13:45   blivet/tasks/pvtask.py
     3333  02-01-2022 13:45   blivet/tasks/task.py
      400  02-01-2022 13:45   etc/dbus-1/system.d/blivet.conf
      113  02-01-2022 13:45   usr/lib/systemd/system/blivet.service
      364  02-01-2022 13:45   usr/libexec/blivetd
      106  02-01-2022 13:45   usr/share/dbus-1/system-services/com.redhat.Blivet0.service
    18092  04-29-2022 11:44   blivet-3.4.3.dist-info/COPYING
     3973  04-29-2022 11:44   blivet-3.4.3.dist-info/METADATA
       92  04-29-2022 11:44   blivet-3.4.3.dist-info/WHEEL
        7  04-29-2022 11:44   blivet-3.4.3.dist-info/top_level.txt
    10459  04-29-2022 11:44   blivet-3.4.3.dist-info/RECORD
---------                     -------
  1341519                     128 files
@kloczek
Copy link
Author

kloczek commented Apr 29, 2022

After installation of the .whl in </install/prefix> directory tree looks like below

[tkloczko@devel-g2v python-blivet-3.4.3-3.fc35.x86_64]$ tree -d
.
└── usr
    └── lib
        └── python3.8
            └── site-packages
                ├── blivet
                │   ├── dbus
                │   │   └── __pycache__
                │   ├── devicelibs
                │   │   └── __pycache__
                │   ├── devices
                │   │   └── __pycache__
                │   ├── events
                │   │   └── __pycache__
                │   ├── formats
                │   │   └── __pycache__
                │   ├── populator
                │   │   ├── helpers
                │   │   │   └── __pycache__
                │   │   └── __pycache__
                │   ├── __pycache__
                │   ├── static_data
                │   │   └── __pycache__
                │   └── tasks
                │       └── __pycache__
                ├── blivet-3.4.3.dist-info
                ├── etc
                │   └── dbus-1
                │       └── system.d
                └── usr
                    ├── lib
                    │   └── systemd
                    │       └── system
                    ├── libexec
                    └── share
                        └── dbus-1
                            └── system-services

36 directories

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

1 participant