Skip to content

No setup.py? #4

@s-sajid-ali

Description

@s-sajid-ali

How does one install this package ?
Since this is a dependency for the current python-3 only versions of ipython, I need it. I'm using spack to build ipython and it's required dependencies from scratch. But since I can't find a relevant setup.py for this dependency, I'm unsure how one would automate the build for this package.

Here is the output of the failed build ( note that ^/bhl refers to the python installation on my system, ^ is the API for specifying a dependency and bhl refer to the first 3 characters of the Directed Acyclic Graph which spack makes for each package to uniquely specify it) :

[sajid@xrmlite packages]$ spack install py-backcall ^/bhl                                                                                                                                       
==> bzip2 is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/bzip2-1.0.6-5t7eiv6q6weyhyufgn6nm3t2yz4oqjbk                                              
==> ncurses is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/ncurses-6.0-zgqtbecq23nyxop5gnizfxacsytcn2x2                                            
==> readline is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/readline-7.0-emw45ab2kvite7cv62jcltwzzx5bvjce                                          
==> gdbm is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/gdbm-1.14.1-nntb2idfx2tvgkyizo6tgzmjhsgtnydu                                               
==> zlib is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/zlib-1.2.11-sh7mgsynw6uq2lkaqsv4ty5zerjfu7ww                                               
==> openssl is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/openssl-1.0.2n-ysm6u7hvbdqowutu2bwc3bs7qp6zm464                                         
==> sqlite is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/sqlite-3.22.0-so3okzmetdhxme3oewed24vd6cv66mql                                           
==> python is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/python-3.6.5-bhlbfycqieed3z4hkfm6zi5qa5fcv5mw                                            
==> py-setuptools is already installed in /home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/py-setuptools-39.0.1-vwpdnjgkmdqezqjnexr5pxwg4g4l5iwu                             
==> Installing py-backcall                                                                                                                                                                      
==> Using cached archive: /home/sajid/packages/spack/var/spack/cache/py-backcall/py-backcall-0.1.0.tar.gz                                                                                       
==> Staging archive: /home/sajid/packages/spack/var/spack/stage/py-backcall-0.1.0-k32647qaqvi4bq3unuinykm3f35zknf2/master.tar.gz                                                                
==> Created stage in /home/sajid/packages/spack/var/spack/stage/py-backcall-0.1.0-k32647qaqvi4bq3unuinykm3f35zknf2                                                                              
==> No patches needed for py-backcall                                                                                                                                                           
==> Building py-backcall [PythonPackage]                                                                                                                                                        
==> Executing phase: 'build'                                                                                                                                                                    
==> Executing phase: 'install'                                                                                                                                                                  
==> Error: ProcessError: Command exited with status 1:                                                                                                                                          
    '/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/python-3.6.5-bhlbfycqieed3z4hkfm6zi5qa5fcv5mw/bin/python3.6' '-s' 'setup.py' '--no-user-cfg' 'install' '--prefix=/home/
sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/py-backcall-0.1.0-k32647qaqvi4bq3unuinykm3f35zknf2' '--single-version-externally-managed' '--root=/'                              
See build log for details:                                                                                                                                                                      
  /home/sajid/packages/spack/var/spack/stage/py-backcall-0.1.0-k32647qaqvi4bq3unuinykm3f35zknf2/backcall-0.1.0/spack-build.out                                                                  

The output of spack-build.out :

[sajid@xrmlite backcall-0.1.0]$ cat spack-build.out
==> Executing phase: 'build'
==> '/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/python-3.6.5-bhlbfycqieed3z4hkfm6zi5qa5fcv5mw/bin/python3.6' '-s' 'setup.py' '--no-user-cfg' 'build'
running build
running build_py
creating build
creating build/lib
creating build/lib/backcall
copying backcall/__init__.py -> build/lib/backcall
copying backcall/backcall.py -> build/lib/backcall
copying backcall/_signatures.py -> build/lib/backcall
==> Executing phase: 'install'
==> '/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/python-3.6.5-bhlbfycqieed3z4hkfm6zi5qa5fcv5mw/bin/python3.6' '-s' 'setup.py' '--no-user-cfg' 'install' '--prefix=/home/sajid/packages/spack/opt/spack/linux-centos7-x86_64/gcc-8.1.0/py-backcall-0.1.0-k32647qaqvi4bq3unuinykm3f35zknf2' '--single-version-externally-managed' '--root=/'
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --single-version-externally-managed not recognized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions