Commit graph

77 commits

Author SHA1 Message Date
Bill Nottingham
77e7ae6838 Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
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.
2016-04-29 08:47:49 -07:00
Brian Coca
369b3b317e renamed shell to console in last spot 2016-03-09 13:57:45 -05:00
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
2016-03-07 20:25:21 -05:00
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. 2015-10-16 08:21:28 -07:00
Brian Coca
66c3461f3c now include galaxy/data/ stuff for use with ansible-galaxy 2015-09-01 10:58:58 -04:00
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.
2015-07-27 19:33:54 +00:00
James Cammarata
8509f22839 Merge pull request #11731 from danasmera/devel
Delete unused import glob
2015-07-25 02:47:58 -04:00
danasmera
966193e233 Delete unused import glob 2015-07-24 23:57:38 -04:00
James Cammarata
373830b5df Fix removal of .git from modules directories
Also changed the setup.py maintainers email to our default support one.

Fixes #11051
2015-07-13 15:46:09 -04:00
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
2015-05-08 13:40:02 -05:00
Jürgen Hermann
597c0f48f5 Generic package_dir mapping in setup.py (closes #10437) 2015-03-12 02:28:33 +01:00
Toshio Kuratomi
9095e97c6a Parenthesis mean we can get rid of line continuation markers 2015-01-26 07:14:08 -08:00
Gilles Pietri
ee448493d7 Make setup.py work with Python 3 (and requiring 2.6) 2015-01-26 14:12:35 +01:00
Michael DeHaan
f80e766d97 Need to include extras in setup to accomodate future windows extras modules 2014-11-29 18:11:10 -05:00
Chris Church
8665f94ecb Make sure Windows modules are installed. 2014-11-28 09:52:39 -05:00
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
2014-09-29 10:22:15 -04:00
Michael DeHaan
e5116d2f9b changes for package loading of modules 2014-09-26 11:25:56 -04:00
Josh Drake
aa419044c4 WIP on the re-implementation of fact caching and various backends. 2014-08-11 12:23:05 -04:00
James Cammarata
4bf826f514 Include *.ps1 files in the library for installation
Fixes #8490
2014-08-07 11:17:13 -05:00
James Laska
03efbfca29 Correct string concatenation error 2014-07-17 08:57:47 -04:00
Chris Church
3b4adb78cb Add shell_plugins to packages. 2014-06-20 09:36:53 -05:00
Michael DeHaan
56d03fc766 Merge pull request #6994 from tonk/docfix
Fix documentation error
2014-04-29 16:50:00 -04:00
James Cammarata
8e66a6c811 Cleaning up the import testing around setuptools 2014-04-29 14:53:44 -05:00
Ton Kersten
6735733ed1 Fix documentation error 2014-04-15 09:21:41 +02:00
Toshio Kuratomi
e622074812 Prnt error message is unable to use setuptools when building 2014-04-02 13:36:41 -07:00
Toshio Kuratomi
17f134ca02 distutils' requires parameter doesn't work with setuptools. Use
setuptools' instal_requires instead
2014-03-14 12:38:01 -07:00
Toshio Kuratomi
0fefab6651 Require a recent enough version of pycrypto and see that playbook and vault ues it. 2014-03-14 11:55:06 -07:00
Ton Kersten
ad687fcefd Added ansible-vault to the installer 2014-02-21 09:18:49 +01:00
James Cammarata
b73a8efbd9 Tweak library installation path to default to /usr/share/ansible if specified 2014-02-17 14:45:15 -06:00
James Cammarata
79b5ed5331 Merge branch 'patch-1' of https://github.com/eggsby/ansible into eggsby-patch-1 2014-02-17 14:39:28 -06:00
Michael DeHaan
d07a3b5e9b AnsibleWorks -> Ansible 2014-01-28 20:29:42 -05:00
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.
2014-01-14 15:13:56 -08:00
Rene Moser
dc40c406c6 setup.py: fix ansible-galaxy was not installed when using make install 2013-12-20 09:27:13 +01:00
James Tanner
f3a4705a9c Revert "Merge pull request #4874 from leth/editable_install"
This reverts commit 15b89b45e1, reversing
changes made to 3d836a1ab7.
2013-12-16 15:57:03 -05:00
Marcus Cobden
8d98a55df1 Fix setup.py to work with 'pip install -e .' 2013-11-11 14:00:38 +00:00
Michael DeHaan
ad5731b4a8 Add module utils path to setup.py 2013-10-26 15:00:59 -04:00
Ton Kersten
0c2af5d5ec Fix the install destination, now with os.path.join 2013-09-23 14:34:27 +02:00
Ton Kersten
0476272c79 Fix the install destination 2013-09-23 11:30:31 +02:00
Skylar Saveland
50bd14faa9 use DEFAULT_MODULE_PATH in setup.py so that there is a chance to override with ANSIBLE_LIBRARY env variable 2013-09-16 19:08:22 -07:00
Michael DeHaan
4a3b762afe Update URLs and email address in setup.py 2013-08-24 11:25:02 -04:00
Benjamin Schwarze
61e660442c fix package mentioned twice in setup.py 2013-05-15 21:02:53 +02:00
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.
2013-04-29 10:50:12 +02:00
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
2012-11-30 21:57:25 -05:00
Jeroen Hoekx
67321a6012 Add ansible.runner.filter_plugins package to setup.py 2012-11-05 15:23:04 +01:00
Daniel Hokka Zakrisson
000d3832cc Make ansible.utils a package 2012-11-02 00:42:37 +01:00
Michael DeHaan
7d7ff9d616 Fixup setup.py path 2012-10-26 20:20:02 -04:00
Michael DeHaan
6ba30170dd Make group_vars and host_vars available to usr/bin/ansible, and make vars_plugins exist 2012-10-26 19:55:59 -04:00
Michael DeHaan
dd3beb844f add lookup plugins to setup.py 2012-10-12 20:07:45 -04:00
Tim Bielawa
baa91ebc95 Add DIST_MODULE_PATH so setup.py and ansible.spec can live in harmony. Closes #1277 2012-10-11 13:22:30 -04:00