Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
pip fails when installing a local python package #19028
From @pumazi on April 13, 2016 20:12
OS / ENVIRONMENT
Installation of local Python packages using the pip module fails. For example, from within the local package's root,
STEPS TO REPRODUCE
Given an archived package installed on a server and unpacked to say
- name: failed local python package install hosts: all tasks: - name: acquire source via the tarball become: yes unarchive: src: "https://pypi.python.org/packages/source/m/mock/mock-2.0.0.tar.gz" dest: "/var/tmp/" copy: no - name: install become: yes pip: name: ".[feature]" editable: yes chdir: "/var/tmp/mock-2.0.0" state: present
Installation of the local python package as a editable/development package.
With the addition of the
Editable was set to
Copied from original issue: ansible/ansible-modules-core#3426
From @ansibot on December 7, 2016 19:58
This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible
Please read through the repomerge page in the dev guide. The guide contains links to tools which automatically move your issue or pull request to the ansible/ansible repo.