Permalink
Cannot retrieve contributors at this time
Fetching contributors…
| #!/usr/bin/env python | |
| # flake8: ignore=E501 | |
| # | |
| # Copyright 2012 Canonical Ltd. This software is licensed under the | |
| # GNU General Public License version 3 (see the file LICENSE). | |
| import os | |
| import subprocess | |
| from setuptools import setup, find_packages | |
| version_script = os.path.join(os.path.dirname(__file__), 'charmtools', 'git_version.py') | |
| version = subprocess.check_output([version_script, '--format=short']).strip() | |
| with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as fh: | |
| readme = fh.read() | |
| setup( | |
| name='charm-tools', | |
| version=version, | |
| packages=find_packages( | |
| exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), | |
| install_requires=[ | |
| 'launchpadlib<1.11', | |
| 'cheetah<=2.4.4', | |
| 'pyyaml==3.11', | |
| 'paramiko<2.0.0', | |
| 'requests<=2.9.1', | |
| 'libcharmstore', | |
| 'blessings<=1.6', | |
| 'ruamel.yaml<=0.10.23', | |
| 'pathspec<=0.3.4', | |
| 'otherstuf<=1.1.0', | |
| 'path.py<=8.1.2', | |
| 'pip>=1.5.4', | |
| 'jujubundlelib', | |
| 'virtualenv>=1.11.4', | |
| 'colander<=1.0b1', | |
| 'jsonschema<=2.5.1', | |
| 'secretstorage<2.4', | |
| ], | |
| include_package_data=True, | |
| maintainer='Marco Ceppi', | |
| maintainer_email='marco@ceppi.net', | |
| description=('Tools for maintaining Juju charms'), | |
| long_description=readme, | |
| license='GPL v3', | |
| url='https://github.com/juju/charm-tools', | |
| classifiers=[ | |
| "Development Status :: 5 - Production/Stable", | |
| "Intended Audience :: Developers", | |
| "Programming Language :: Python", | |
| ], | |
| entry_points={ | |
| 'console_scripts': [ | |
| 'charm-add = charmtools.generate:main', | |
| 'charm-build = charmtools.build.builder:main', | |
| 'charm-create = charmtools.create:main', | |
| 'charm-help = charmtools.cli:usage', | |
| 'charm-layers = charmtools.build.builder:inspect', | |
| 'charm-proof = charmtools.proof:main', | |
| 'charm-pull-source = charmtools.pullsource:main', | |
| 'charm-version = charmtools.version:main', | |
| ], | |
| 'charmtools.templates': [ | |
| 'bash = charmtools.templates.bash:BashCharmTemplate', | |
| 'reactive-python = charmtools.templates.reactive_python:ReactivePythonCharmTemplate', | |
| 'reactive-bash = charmtools.templates.reactive_bash:ReactiveBashCharmTemplate', | |
| 'python-basic = charmtools.templates.python:PythonCharmTemplate', | |
| 'python = charmtools.templates.python_services' | |
| ':PythonServicesCharmTemplate', | |
| 'ansible = charmtools.templates.ansible:AnsibleCharmTemplate', | |
| 'chef = charmtools.templates.chef:ChefCharmTemplate', | |
| 'powershell = charmtools.templates.powershell:PowerShellCharmTemplate', | |
| ] | |
| }, | |
| ) |