TUW-GEO / geopathfinder

Querying and searching data on the file system
MIT License
0 stars 2 forks source link

windows installation issue - too long pathnames #33

Open raphaelquast opened 1 year ago

raphaelquast commented 1 year ago

Just ran into installation issues on windows due to very long file-names in the tests folder...

Removing the tests folder from the pypi sources should do the job (and it would also significantly reduce the size of the library since tests are not required at runtime)

Collecting geopathfinder
  Downloading geopathfinder-0.1.4.tar.gz (1.1 MB)
     ---------------------------------------- 1.1/1.1 MB 9.6 MB/s eta 0:00:00

Pip subprocess error:
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\\Users\\---\\AppData\\Local\\Temp\\7\\pip-install-inlh1qw6\\geopathfinder_91a16088922149668c97e906b5085386\\tests/test_data/Sentinel-1_CSAR/IWGRDH/preprocessed/datasets/resampled/A0202/EQUI7_EU500M/E006N006T6/plia/M20160831_163321--_PLIA-----_S1AIWGRDH1--A_175_A0201_EU500M_E006N006T6.tif'
HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths