Package Details: python-scalene-git r2002.1fea191-2

Git Clone URL: https://aur.archlinux.org/python-scalene-git.git (read-only, click to copy)
Package Base: python-scalene-git
Description: Scalene is a high-performance, high-precision CPU and memory profiler for Python
Upstream URL: https://github.com/emeryberger/scalene
Keywords: optimization profiling python
Licenses: Apache-2.0
Provides: python-scalene
Submitter: wbthomason
Maintainer: wbthomason
Last Packager: wbthomason
Votes: 1
Popularity: 0.000001
First Submitted: 2020-05-19 17:45 (UTC)
Last Updated: 2021-10-21 22:21 (UTC)

Latest Comments

cyberic commented on 2021-10-22 08:33 (UTC)

Do you get the expected result with a pip install?

no, it still fails the same way

wbthomason commented on 2021-10-22 08:10 (UTC)

@cyberic: Do you get the expected result with a pip install? If so, there's still something wrong with the PKGBUILD (it seems the scalene build process may have changed significantly from my initial packaging).

cyberic commented on 2021-10-22 07:54 (UTC)

Thnak you @wbthomason, I could compile scalene successfully now.

but event on a simple python script, it does nothing, I don't get the prompt back...

maybe I'll report this upstream

wbthomason commented on 2021-10-21 22:19 (UTC)

@cyberic: I just now updated the PKGBUILD, which installs & allows scalene to run for me. Please let me know if you're still having problems.

cyberic commented on 2021-10-21 21:57 (UTC)

Hello I just tried to install this package, and I get this error:

==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: python-scalene-git r2002.1fea191-1
==> Starting build()...
mkdir -p vendor && cd vendor && git clone https://github.com/emeryberger/Heap-Layers
mkdir -p vendor && cd vendor && git clone https://github.com/mpaland/printf
Cloning into 'Heap-Layers'...
Cloning into 'printf'...
remote: Enumerating objects: 526, done.
remote: Counting objects: 100% (159/159), done.
remote: Enumerating objects: 2493, done.
remote: Compressing objects: 100% (10/10), done.
remote: Counting objects: 100% (640/640), done.
remote: Compressing objects: 100% (394/394), done.
remote: Total 526 (delta 152), reused 149 (delta 149), pack-reused 367
Receiving objects: 100% (526/526), 481.04 KiB | 1.91 MiB/s, done.
Resolving deltas: 100% (313/313), done.
cd vendor/printf && ln -s printf.c printf.cpp
remote: Total 2493 (delta 386), reused 400 (delta 243), pack-reused 1853
Receiving objects: 100% (2493/2493), 917.09 KiB | 3.46 MiB/s, done.
sed -i -e 's/^#define printf printf_/\/\/&/' vendor/printf/printf.h
Resolving deltas: 100% (1604/1604), done.
g++ -std=c++17 -g -O3 -DNDEBUG -D_REENTRANT=1 -pipe -fno-builtin-malloc -fvisibility=hidden -fPIC -shared -Bsymbolic -Isrc -Isrc/include -Ivendor/Heap-Layers -Ivendor/Heap-Layers/wrappers -Ivendor/Heap-Layers/utility -Ivendor/printf -I/usr/include/python3.9 -I/usr/include/python3.9 -I/usr/include/nptl  src/source/libscalene.cpp vendor/Heap-Layers/wrappers/gnuwrapper.cpp vendor/printf/printf.cpp -o scalene/libscalene.so -ldl -lpthread
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'libscalene.so': No such file or directory

wbthomason commented on 2020-10-23 21:11 (UTC)

@caos21: Thanks! I've updated the dependencies.

caos21 commented on 2020-10-23 20:37 (UTC)

python-rich is a dependency