Ticket #557 (assigned bug)

Opened 4 years ago

Last modified 2 years ago

Podpora za lokacijo ikonic widgetov drugje kot v site-packages

Reported by: mitar Owned by: miha
Milestone: 2.6 Component: canvas
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

Podpora za lokacijo ikonic widgetov drugje kot v site-packages, saj ni po Linux standardu, da bi te bile med Python kodo:

According to the Filesystem Hierarchy Standard, architecture-independent files need to be placed within /usr/share instead.

Lahko bi se naredilo podobno kot smo naredili za dokumentacijo, da se ob izgradnji paketa v orngConfiguration.py zapiše recimo iconsPath spremenljivka. (Trenutno imamo tako datasetsPath.)

Change History

comment:1 Changed 4 years ago by mitar

  • Cc mitar@… added

comment:2 Changed 4 years ago by janez

  • Owner changed from janez to marko
  • Status changed from new to assigned

comment:3 Changed 3 years ago by mitar

Marko, lahko to pogledaš?

comment:5 Changed 3 years ago by marko

In [10902]:

(The changeset message doesn't reference this ticket)

comment:6 Changed 3 years ago by mitar

  • Owner changed from marko to mitar
  • Status changed from assigned to accepted

comment:7 Changed 2 years ago by mitar

  • Owner changed from mitar to miha
  • Cc mitar@… removed
  • Status changed from accepted to assigned

As Python packaging recommends, data files can be simply somewhere inside the package. We have this like that in add-ons and setup.py supports it nicely. We use pkg_resource now to find icons so if they are moves somewhere, distribution package system should make sure it works as expected. And because we are using standard ways of accessing data, this is probably automatic.

Should be checked.

Note: See TracTickets for help on using tickets.