Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Initial setup

  • Loading branch information...
commit 85290752c0e2e9e67dc273156e84a25f3f08c4cb 0 parents
Jeff Forcier bitprophet authored
Showing with 72 additions and 0 deletions.
  1. +18 −0 README.rst
  2. +1 −0  patchwork/__init__.py
  3. +53 −0 setup.py
18 README.rst
@@ -0,0 +1,18 @@
+Patchwork is a Python (2.6+) toolkit for common Unix deployment and sysadmin
+operations, such as "install package", "create directory with X owner", etc.
+
+For those familiar with configuration management tools like Chef or Puppet,
+this library is similar to a standalone version of their "Resources". Unlike
+those frameworks, however, Patchwork does not presume to tell you *how* to use
+these components -- you can use them in deploy scripts, system management
+tools, or even to build your own Chef or Puppet level system.
+
+Patchwork is implemented on top of the `Fabric <http://fabfile.org>`_
+high-level SSH module.
+
+For documentation, including detailed installation information, please see
+http://patchwork.fabfile.org.
+
+You can install the `development version
+<https://github.com/fabric/patchwork/tarball/master#egg=patchwork-dev>`_ via
+``pip install patchwork==dev``.
1  patchwork/__init__.py
@@ -0,0 +1 @@
+__version__ = "0.1.0"
53 setup.py
@@ -0,0 +1,53 @@
+#!/usr/bin/env python
+
+# Support setuptools or distutils
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+# Import ourselves for version info
+import patchwork
+
+# Frankenstein long_description: version-specific changelog note + README
+v = patchwork.__version__
+long_description = """
+To find out what's new in this version of Patchwork, please see `the changelog
+<http://docs.patchwork.fabfile.org/en/%s/changelog.html>`_.
+
+%s
+""" % (v, open('README.rst').read())
+
+setup(
+ name='patchwork',
+ version=v,
+ description='Common deploy/sysadmin operations',
+ license='BSD',
+
+ long_description=long_description,
+ author='Jeff Forcier',
+ author_email='jeff@bitprophet.org',
+ url='http://patchwork.fabfile.org',
+
+ packages=["patchwork"],
+
+ classifiers=[
+ 'Development Status :: 3 - Alpha',
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'Intended Audience :: System Administrators',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: MacOS :: MacOS X',
+ 'Operating System :: Unix',
+ 'Operating System :: POSIX',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
+ 'Topic :: Software Development',
+ 'Topic :: Software Development :: Build Tools',
+ 'Topic :: Software Development :: Libraries',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
+ 'Topic :: System :: Software Distribution',
+ 'Topic :: System :: Systems Administration',
+ ],
+)
Please sign in to comment.
Something went wrong with that request. Please try again.