Changes between Initial Version and Version 1 of Ticket #302


Ignore:
Timestamp:
03/25/18 10:37:52 (7 years ago)
Author:
Antoine Martin
Comment:

Sorry, I don't have the time to fix this.

Dealing with distutils is hard so this would require significant changes for very little value. In any case the README file points to this website, which is THE reference.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #302

    • Property Status changed from new to closed
    • Property Resolution changed from to wontfix
  • Ticket #302 – Description

    initial v1  
    1 For software installed from source, it is essential to be able to specify the installation directory tree (eg /usr/local) in order to avoid conflicts with OS installed software from packages.
     1For software installed from source, it is essential to be able to specify the installation directory tree (eg {{{/usr/local}}}) in order to avoid conflicts with OS installed software from packages.
    22
    33And for those of us that manage installed local software with GNU stow,
    44
    5 (see https://www.gnu.org/software/stow if not familiar with the approach)
     5(see [https://www.gnu.org/software/stow] if not familiar with the approach)
    66
    77it is even more important that files get installed under the specified directory tree.
    88
    9 Now winswitch does this for most of the install if --prefix is used
    10 
     9Now winswitch does this for most of the install if {{{--prefix}}} is used
     10{{{
    1111/usr/bin/python "/usr/src/build/winswitch-0.12.23/setup.py" install --prefix="/usr/local/stow/Network/winswitch-0.12.23/usr/local"
    1212
     
    1717byte-compiling /usr/local/stow/Network/winswitch-0.12.23/usr/local/lib/python2.7/site-packages/winswitch/ui/window_fake_tray.py to window_fake_tray.pyc
    1818...
     19}}}
    1920
    20 but for a number of items the install process ignores the prefix and installs directly under system directories /etc and /usr/lib
     21but for a number of items the install process ignores the prefix and installs directly under system directories {{{/etc}}} and {{{/usr/lib}}}
    2122
    22 creating /etc/winswitch
     23creating {{{/etc/winswitch}}}
    2324
    2425and
    2526
    26 creating /usr/lib/winswitch
     27creating {{{/usr/lib/winswitch}}}
    2728
    28 For installs under "/usr/local" these should instead be accesible under /usr/local/etc/winswitch and /usr/local/lib/winswitch respectively when installation is complete.
     29For installs under "{{{/usr/local}}}" these should instead be accessible under {{{/usr/local/etc/winswitch}}} and {{{/usr/local/lib/winswitch}}} respectively when installation is complete.
    2930
    30 Now after checking the setup.py file, it seems a non-standard (?) method of specifying the destination for installs works, by specifying the environmental variable PREFIX="prefix_dir" get the etc/winswich and lib/winswitch installed under the prefix dir BUT --prefix prefix_dir is still needed to get all the other items to the prefix directory.
     31Now after checking the setup.py file, it seems a non-standard (?) method of specifying the destination for installs works, by specifying the environmental variable PREFIX="prefix_dir" get the etc/winswich and lib/winswitch installed under the prefix dir BUT {{{--prefix}}} prefix_dir is still needed to get all the other items to the prefix directory.
    3132
    32 Please ensure that the --prefix prefix_dir variable is applied to all items being installed without the need for adding the environmental variable, or at the very minimum, mention this double requirement in the README file.
     33Please ensure that the {{{--prefix prefix_dir}}} variable is applied to all items being installed without the need for adding the environmental variable, or at the very minimum, mention this double requirement in the README file.
    3334
    3435Thank you for your assistance in resolving this issue.