Skip to content

setup.py is broken #11338

Closed
Closed

Description

@UtahDave

Latest git
OS: Ubuntu 12.04

[boucha@dasalt salt (develop u=)]$ sudo python setup.py install 
2014.1.0-3503-ga5153ba
running install
running build
running build_py
package init file 'salt/templates/__init__.py' not found (or not a regular file)
running build_scripts
running install_lib
copying build/lib.linux-x86_64-2.7/salt/_version.py -> /usr/local/lib/python2.7/dist-packages/salt
copying build/lib.linux-x86_64-2.7/salt/_syspaths.py -> /usr/local/lib/python2.7/dist-packages/salt
byte-compiling /usr/local/lib/python2.7/dist-packages/salt/_version.py to _version.pyc
byte-compiling /usr/local/lib/python2.7/dist-packages/salt/_syspaths.py to _syspaths.pyc
Traceback (most recent call last):
  File "setup.py", line 648, in <module>
    setup(**SETUP_KWARGS)
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 381, in run
    install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 613, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setup.py", line 392, in run
    idx = inp.index('build/lib/salt/templates/git/ssh-id-wrapper')
ValueError: 'build/lib/salt/templates/git/ssh-id-wrapper' is not in list

Activity

  1. s0undt3ch commented on Mar 18, 2014

    @s0undt3ch
    Contributor

    Thanks! I'll get to this one as soon as I can.

  2. added this to the Outstanding Bugs milestone on Mar 20, 2014
  3. cachedout commented on Apr 2, 2014

    @cachedout
    Contributor

    This appears to be fixed. I ran the same command as @UtahDave on a fresh copy of develop and it ran without errors. Here are the final few lines:

    changing mode of /usr/bin/salt-cp to 755
    changing mode of /usr/bin/salt-run to 755
    running install_data
    copying doc/man/salt-cp.1 -> /usr/share/man/man1
    copying doc/man/salt-call.1 -> /usr/share/man/man1
    copying doc/man/salt-minion.1 -> /usr/share/man/man1
    copying doc/man/salt-master.1 -> /usr/share/man/man1
    copying doc/man/salt-key.1 -> /usr/share/man/man1
    copying doc/man/salt.1 -> /usr/share/man/man1
    copying doc/man/salt-syndic.1 -> /usr/share/man/man1
    copying doc/man/salt-run.1 -> /usr/share/man/man1
    copying doc/man/salt-ssh.1 -> /usr/share/man/man1
    copying doc/man/salt-cloud.1 -> /usr/share/man/man1
    copying doc/man/salt.7 -> /usr/share/man/man7
    running install_egg_info
    Writing /usr/lib/python2.6/site-packages/salt-2014.1.0_4199_g2b5c31a-py2.6.egg-info
    
  4. UtahDave commented on Apr 2, 2014

    @UtahDave
    ContributorAuthor

    Yes, it is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Packagingbugseverity-high

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions