NISH1001/playx

Include numpy as dependency in AUR package

talentlessguy opened this issue · 5 comments

currently this happens:

➜ playx дисциплина безбольной биты
Traceback (most recent call last):
  File "/usr/bin/playx", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3259, in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3242, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3271, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'numpy' distribution was not found and is required by playx

if installed with yay -S playx

and when installing numpy, we get this:

➜ pip3 install numpy
Defaulting to user installation because normal site-packages is not writeable
Collecting numpy
  Downloading numpy-1.18.3-cp38-cp38-manylinux1_x86_64.whl (20.6 MB)
     |████████████████████████████████| 20.6 MB 326 kB/s 
ERROR: playx 1.5.1 requires lxml, which is not installed.
ERROR: playx 1.5.1 requires selenium, which is not installed.
Installing collected packages: numpy
Successfully installed numpy-1.18.3

@talentlessguy are you able to install successfully using setup.py?

@NISH1001 I just installed missing deps so I didn't use setup.py

I think the PKGBUILD file should be edited with deps so it will work flawlessly from the start

@talentlessguy Thanks for letting us know. We will try to fix that soon.

@NISH1001 Sorry, been busy this days on a hackathon project. I admit, I'm the maintainer of the playx package and I'm supposed to keep everything updated. I'm working on it right now.

Edit: The latest version is up on AUR