summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-11-27 23:12:51 -0500
committerTodd Zullinger <tmz@pobox.com>2008-11-28 00:05:36 -0500
commit8a668566959c420647f08cb1277c2c220f96031f (patch)
treee0dafc8106f56d9bd36d328376dcdec666055087
parentca21f1fad94640bb556f239d74bf4ce329f02155 (diff)
downloadpuppet-host-package-8a668566959c420647f08cb1277c2c220f96031f.zip
puppet-host-package-8a668566959c420647f08cb1277c2c220f96031f.tar.gz
puppet-host-package-8a668566959c420647f08cb1277c2c220f96031f.tar.xz
Create a distutils-based installer
-rw-r--r--.gitignore2
-rw-r--r--MANIFEST6
-rwxr-xr-xsetup.py30
3 files changed, 38 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 1110214..3677418 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,5 @@
*~
/TODO
+/build
+/dist
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..14bbcfd
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,6 @@
+COPYING
+README
+puppet-host-package
+puppethost.py
+setup.py
+template.spec
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..f5893e7
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,30 @@
+#!/usr/bin/python
+
+import glob
+from distutils.core import setup
+from puppethost import version, __name__
+
+setup(name='puppet-host-package',
+ version=version,
+ description='Tool to create host specific package(s) for puppet hosts',
+ author='Todd Zullinger',
+ author_email='tmz+puppet@pobox.com',
+ url='http://pobox.com/~tmz/puppethost/',
+ license='GPLv2+',
+ py_modules=['puppethost'],
+ scripts=['puppet-host-package'],
+ data_files=[('share/%s' % __name__, ['template.spec'])],
+ long_description="""\
+This tool generates a package containing the SSL certificate and other needed
+files for a given host or hosts.""",
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'Environment :: Console',
+ 'Intended Audience :: System Administrators',
+ 'License :: OSI Approved :: GNU General Public License (GPL)',
+ 'Natural Language :: English',
+ 'Operating System :: POSIX',
+ 'Programming Language :: Python',
+ 'Topic :: System :: Systems Administration',
+ ],
+ )