broadinstitute / gdctools

Python and UNIX CLI utilities to simplify interaction with the NIH/NCI Genomics Data Commons
Other
31 stars 4 forks source link

exclude tests directory when doing pip install #74

Open noblem opened 6 years ago

noblem commented 6 years ago

The fact that the tests directory lives at the same level in the gdctools directory tree as the setup.py file means that pip (etc) considers it when doing installs, and this can not only chew up a lot of time to walk the tests data but also a lot of disk space in /tmp because the tests subtree is copied there during package build. There should be a way to exclude this directory from consideration during builds.

noblem commented 6 years ago

See https://github.com/pypa/pip/issues/2195 for description of issue. Which, notably, has not been solved in several years.