# Can setup.py copy modules to a location other than /usr/share/ansible?

**URL:** <https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12299>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [February 7, 2013, 3:40am UTC](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12299 "2013-02-07T03:40:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Romeo\_Theriault](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Post date:** [February 7, 2013, 3:40am UTC](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12299/1 "2013-02-07T03:40:35Z")

</div>

Not sure I'm fully following you here, but you should be able to do a  
simple 'git clone' or download the src.tarball anywhere you want and run  
ansible just fine after you running the 'hacking/env-setup' setup script,  
which sets a few vars for it. No need to install with setup.py.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Post date:** [February 7, 2013, 12:38pm UTC](https://forum.ansible.com/t/can-setup-py-copy-modules-to-a-location-other-than-usr-share-ansible/12299/2 "2013-02-07T12:38:14Z")

</div>

Also try installing with pip under virtualenv.
