include "/usr/local/lib/python3.8" in rebaseall?

enrique@perezterron.net enrique@perezterron.net
Thu Jul 8 02:13:16 GMT 2021


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


More information about the Cygwin mailing list