Commits

Anonymous committed 6f4a144

add some packaging

Comments (0)

Files changed (5)

+#!/usr/bin/env python
+
+from distutils.core import setup
+from distutils.extension import Extension
+import os, sys
+
+
+setup(
+    author="Chris Lee-Messer",
+    name="clm-python-sysadmin",
+    version="20100315",
+    license='BSD', 
+    description="a miscellaneous collection of useful snippets for systems administration in python", 
+    url='https://cleemesser@bitbucket.org/cleemesser/clm-python-sysadmin/',
+    packages=["sysadmin", "sysadmin.linux"]
+)
+
+#!/usr/bin/env python
+# copied from cython example to run setup using setuptools
+"""
+script to use setuptools to invoke setup
+adds egg features
+"""
+from setuptools import setup
+execfile('setup.py')

sysadmin/__init__.py

+#placeholder

sysadmin/linux/__init__.py

+#placeholder

sysadmin/linux/clean_module.py

 #!/usr/bin/env python
-import kernel_modules
+import sysadmin.linux.kernel_modules as kernel_modules
 import optparse
+
 kmodules = kernel_modules.KernelModules()
 
 def main():