intake / intake-parquet

Parquet plugin for Intake
https://intake-parquet.readthedocs.io/en/latest/?badge=latest
BSD 2-Clause "Simplified" License
12 stars 14 forks source link

Do not install the tests as a top level package #27

Closed maximlt closed 1 year ago

maximlt commented 2 years ago

I noticed intake-parquet was distributing its tests folder as a top level package, i.e. it's in my site-packages folder. This happens because find_packages() look for folders that contain an __init__.py file, which is the case here. This PR excludes it. The MANIFEST.in file uses recursive-include in a way that the source distribution will include everything in from the tests folder, so I didn't touch it.

(I noticed this running pytest --pyargs tests)

martindurant commented 1 year ago

Of course, we will need to release this at some point...