public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: enrique@perezterron.net
To: cygwin@cygwin.com
Subject: include "/usr/local/lib/python3.8" in rebaseall?
Date: Thu, 08 Jul 2021 04:13:16 +0200	[thread overview]
Message-ID: <68f062dc8be18dc228054405d32bda00@perezterron.net> (raw)

Hello!

When I "pip install" python modules for which there are no cygwin 
packages, *.dll files are installed below 
/usr/local/lib/python3.8/site-packages/.
Since rebaseall does not automatically rebase files under this location, 
I had fork failures.

The following patch solved it for me:

$ diff -u old-rebaseall rebaseall
--- old-rebaseall       2021-07-08 04:06:16.843238400 +0200
+++ rebaseall   2021-07-08 04:08:20.586260500 +0200
@@ -219,7 +219,7 @@
      # package manager, such as CPAN and RubyGems.
      for d in /usr/lib/perl5/site_perl /usr/lib/py*/site-packages \
               /usr/lib/php /usr/lib/R/site-library /usr/lib/rub*/gems \
-             /usr/lib/octave/site
+             /usr/lib/octave/site /usr/local/lib/python*/site-packages
      do
        if [ -d $d ]
        then

Thanks
-Enrique

                 reply	other threads:[~2021-07-08  2:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68f062dc8be18dc228054405d32bda00@perezterron.net \
    --to=enrique@perezterron.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).