Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (59 sloc) 2.33 KB
# installation: pip install botoform
from setuptools import setup, find_packages
# read requirements.txt for requires, filter comments and newlines.
sanitize = lambda x: not x.startswith("#") and not x.startswith("\n")
with open("requirements.txt", "r") as f:
requires = filter(sanitize, f.readlines())
setup(
name="botoform",
version="0.0.2",
description="botoform: Manage AWS Infrastructure with JSON or YAML.",
keywords="botoform manage aws infrastructure json yaml",
long_description=open("readme.rst").read(),
author="Russell Ballestrini",
author_email="russell@ballestrini.net",
url="https://github.com/russellballestrini/botoform",
license="Apache License 2.0",
packages=find_packages(),
install_requires=requires,
entry_points={
"botoform.plugins": [
"list = botoform.plugins.list:ListVpcs",
"create = botoform.plugins.create:Create",
"stop = botoform.plugins.stop:stop",
"start = botoform.plugins.start:start",
"destroy = botoform.plugins.destroy:destroy",
"dump = botoform.plugins.dump:Dump",
"lock = botoform.plugins.lock:lock",
"unlock = botoform.plugins.unlock:unlock",
"repl = botoform.plugins.repl:REPL",
"cli = botoform.plugins.repl:REPL",
"shell = botoform.plugins.repl:REPL",
"exec = botoform.plugins.exec:Exec",
"refresh = botoform.plugins.refresh:Refresh",
"atmosphere = botoform.plugins.atmosphere:Atmosphere",
],
"console_scripts": ["bf = botoform.__main__:main"],
},
classifiers=[
"Intended Audience :: Developers, Operators, System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
)
"""
setup()
keyword args: http://peak.telecommunity.com/DevCenter/setuptools
configure pypi username and password in ~/.pypirc::
[pypi]
username:
password:
build and upload to pypi with this::
python setup.py sdist bdist_egg register upload
"""