Closed nicki-krizek closed 4 years ago
Tested and worked, thanks! I would never say there might be such a problem here.
Thanks! It's probably related to the way pkg_resources
works, but I don't have experience with it and I didn't dive to deep into the issue once I found out how to fix it :)
Can I asked how did you install without pip? I tried with venv
and worked great even with bs4
shortcut. (But I admit it's better now.)
python3 -m venv venv
. venv/bin/activate
cd pool/
pip3 install .
Ubuntu 19.04
I use Arch and I prefer to use the distro package manager instead of pip, so I created a PKGBUILD that depends on the distribution's python packages.
One of them is python-beautifulsoup4
, and although it installs the python package files to /usr/lib/python3.8/site-packages/bs4/
, the egg info is in /usr/lib/python3.8/site-packages/beautifulsoup4-4.8.1-py3.8.egg-info/
, which might be the cause.
And what if we publish a new version? Can I do something the PKGBUILD can be automatically upgraded or you have to do it manually?
You don't have to worry about it, it's the AUR package mainainer's responsibility (ArchiWiki#AUR) . You could flag it out-of-date to let me the maintainer know there's a new version.
If you'd like, I can add you as a co-maintainer, but unless you're an Arch user actively using that PKGBUILD from AUR, it's just an extra burden you don't need to carry :)
The package "bs4" is only a placeholder for the actual package "beautifulsoup4" https://pypi.org/project/bs4/
This fixes a pkg_resources import issue when installing convey without pip.
NOTE: I didn't test the pip installation with this change