Closed kylebarron closed 11 months ago
Merging #27 (097232d) into main (76b19e6) will not change coverage. Report is 1 commits behind head on main. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #27 +/- ##
=======================================
Coverage 94.25% 94.25%
=======================================
Files 10 10
Lines 1219 1219
=======================================
Hits 1149 1149
Misses 70 70
This is a metapackage for the
geoarrow
namespace on PyPI. Native namespace packages are implicit upon the fact that there is no__init__.py
at the top level of a folder. So ifgeoarrow.pyarrow
publishes a wheel withgeoarrow/pyarrow/__init__.py
but another packagegeoarrow
publishes a wheel withgeoarrow/__init__.py
, thengeoarrow.pyarrow
will never be able to be imported because the latter will shadow the former.This metapackage prevents someone else from taking the "geoarrow" name on PyPI, which lessens the chance that someone else will publish a Python package that exports
geoarrow/__init__.py
.You can build the Python module with
which will build a
tar.gz
and a wheel into./dist
.Then you can verify the output with:
The
geoarrow
package is installed and visible to pip:But there's no
geoarrow
folder insite-packages
:This means that if I also install
geoarrow-pyarrow
in the same virtualenvNow the
geoarrow
folder insite-packages
exists (but crucially does not have__init__.py
at the top level):and I can import and use
geoarrow.pyarrow
:Closes https://github.com/geoarrow/geoarrow-python/issues/3