Commit Graph

76 Commits (5a3493be5f1f9e6652464b927bbccd01ce98a53a)

Author SHA1 Message Date
Toshio Kuratomi 487e6562ca Fix ziploader for the cornercase of ansible invoking ansible.
* Make ziploader's ansible and ansible.module_utils libraries into
  namespace packages.
* Move __version__ and __author__ from ansible/__init__ to
  ansible/release.py.  This is because namespace packages only load one
  __init__.py.  If that is not the __init__.py with the author and
  version info then those won't be available.
* In ziplaoder, move the version ito ANSIBLE_CONSTANTS.
* Change PluginLoader to properly construct the path to the plugins even
  when namespace packages are present.
8 years ago
Brian Coca 369b3b317e renamed shell to console in last spot 8 years ago
Brian Coca e74ab3ecdd draft 1st release of ansible-console
porting @dominis 's ansible-shell tool from 1.9 and integrating it into ansible
added verbosity control
made more resilitent to several errors
added highlight color, to configurable colors
more resilient on exception and interruptions
prompt coloring, goes red and changes to # when using become = true and root
become setting is now explicit and not a toggle
8 years ago
Toshio Kuratomi baa309309d Bundle a new version of python-six for compatibility along with some code to make it easy for distributions to override the bunndled copy if they have a new enough version. 9 years ago
Brian Coca 66c3461f3c now include galaxy/data/ stuff for use with ansible-galaxy 9 years ago
billwanjohi b2739cec6d add distutils package classifiers
I was particularly interested in the programming language ones,
but the others might be useful to others browsing PyPI.

Now with GPLv3+, and Utilities topic.
9 years ago
James Cammarata 8509f22839 Merge pull request #11731 from danasmera/devel
Delete unused import glob
9 years ago
danasmera 966193e233 Delete unused import glob 9 years ago
James Cammarata 373830b5df Fix removal of .git from modules directories
Also changed the setup.py maintainers email to our default support one.

Fixes #11051
9 years ago
Matt Martz a0fc8bb0bd Testing additions and fixes
* Fix import pathing for units.mock
* Add some additional requirements
* Use compileall to test compatiblity with different python versions
9 years ago
Jürgen Hermann 597c0f48f5 Generic package_dir mapping in setup.py (closes #10437) 9 years ago
Toshio Kuratomi 9095e97c6a Parenthesis mean we can get rid of line continuation markers 10 years ago
Gilles Pietri ee448493d7 Make setup.py work with Python 3 (and requiring 2.6) 10 years ago
Michael DeHaan f80e766d97 Need to include extras in setup to accomodate future windows extras modules 10 years ago
Chris Church 8665f94ecb Make sure Windows modules are installed. 10 years ago
James Laska a0fecd6101 Fix packaging to work with new module location
Changes include:
 * Remove references to old module dir from .spec
 * Use setuptools find_packages find all ansible packages
10 years ago
Michael DeHaan e5116d2f9b changes for package loading of modules 10 years ago
Josh Drake aa419044c4 WIP on the re-implementation of fact caching and various backends. 10 years ago
James Cammarata 4bf826f514 Include *.ps1 files in the library for installation
Fixes #8490
10 years ago
James Laska 03efbfca29 Correct string concatenation error 10 years ago
Chris Church 3b4adb78cb Add shell_plugins to packages. 10 years ago
Michael DeHaan 56d03fc766 Merge pull request #6994 from tonk/docfix
Fix documentation error
10 years ago
James Cammarata 8e66a6c811 Cleaning up the import testing around setuptools 10 years ago
Ton Kersten 6735733ed1 Fix documentation error 10 years ago
Toshio Kuratomi e622074812 Prnt error message is unable to use setuptools when building 10 years ago
Toshio Kuratomi 17f134ca02 distutils' requires parameter doesn't work with setuptools. Use
setuptools' instal_requires instead
10 years ago
Toshio Kuratomi 0fefab6651 Require a recent enough version of pycrypto and see that playbook and vault ues it. 10 years ago
Ton Kersten ad687fcefd Added ansible-vault to the installer 11 years ago
James Cammarata b73a8efbd9 Tweak library installation path to default to /usr/share/ansible if specified 11 years ago
James Cammarata 79b5ed5331 Merge branch 'patch-1' of https://github.com/eggsby/ansible into eggsby-patch-1 11 years ago
Michael DeHaan d07a3b5e9b AnsibleWorks -> Ansible 11 years ago
Thomas Omans 4310fc260b bugfix: support path separators in module path
As described by http://docs.ansible.com/intro_configuration.html#library the library supports multiple paths to load modules from. 

Currently `setup.py` treats something like `/usr/share/ansible:/my/custom/modules` as a single directory name and results in the installed modules not being on the module path. (instead they are in a directory named `/usr/share/ansible:/my/custom/modules`) 

This commit simply takes the first listed directory as the install directory for the core modules.
11 years ago
Rene Moser dc40c406c6 setup.py: fix ansible-galaxy was not installed when using make install 11 years ago
James Tanner f3a4705a9c Revert "Merge pull request #4874 from leth/editable_install"
This reverts commit 15b89b45e1, reversing
changes made to 3d836a1ab7.
11 years ago
Marcus Cobden 8d98a55df1 Fix setup.py to work with 'pip install -e .' 11 years ago
Michael DeHaan ad5731b4a8 Add module utils path to setup.py 11 years ago
Ton Kersten 0c2af5d5ec Fix the install destination, now with os.path.join 11 years ago
Ton Kersten 0476272c79 Fix the install destination 11 years ago
Skylar Saveland 50bd14faa9 use DEFAULT_MODULE_PATH in setup.py so that there is a chance to override with ANSIBLE_LIBRARY env variable 11 years ago
Michael DeHaan 4a3b762afe Update URLs and email address in setup.py 11 years ago
Benjamin Schwarze 61e660442c fix package mentioned twice in setup.py 11 years ago
Ton Kersten 17586bafee commit 290ecfcdc2fa6dcbee8328130c85916fdebd5152
Author: Ton Kersten <github@tonkersten.com>
Date:   Mon Apr 29 10:44:30 2013 +0200

    Fixed the installation of library directories

    When running install the `setup.py` give error

    changing mode of /usr/bin/ansible-doc to 755
    running install_data
    error: can't copy './library/utilities': doesn't exist or not a regular file
    make: *** [install] Error 1

    Debugging 'benno' came up with this patch, which works on CentOS 6.4 and
    on Ubuntu.
11 years ago
Jan-Piet Mens 17f31a2a79 CLI: ansible-doc shows lists of modules & module docs on command-line
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
12 years ago
Jeroen Hoekx 67321a6012 Add ansible.runner.filter_plugins package to setup.py 12 years ago
Daniel Hokka Zakrisson 000d3832cc Make ansible.utils a package 12 years ago
Michael DeHaan 7d7ff9d616 Fixup setup.py path 12 years ago
Michael DeHaan 6ba30170dd Make group_vars and host_vars available to usr/bin/ansible, and make vars_plugins exist 12 years ago
Michael DeHaan dd3beb844f add lookup plugins to setup.py 12 years ago
Tim Bielawa baa91ebc95 Add DIST_MODULE_PATH so setup.py and ansible.spec can live in harmony. Closes #1277 12 years ago
Michael DeHaan 95540f40b0 Add package to setup.py 12 years ago