Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a simple setup.py script

  • Loading branch information...
commit d56387ee3edb05aee87bb732fb60b9d3a5e8a94b 1 parent 0a76d3a
@rtyler authored
Showing with 23 additions and 0 deletions.
  1. +23 −0 setup.py
View
23 setup.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+
+USE_SETUPTOOLS = False
+try:
+ from setuptools import setup, Extension
+ USE_SETUPTOOLS = True
+except ImportError:
+ from distutils.core import setup, Extension
+
+
+setup_kwargs = dict(
+ name='greendns',
+ description='''A module for providing greened DNS access via dnspython ''',
+ version='0.1.0',
+ author='R. Tyler Ballance',
+ author_email='tyler@monkeypox.org',
+ py_modules=['greendns',],
+ url='http://rtyler.github.com/greendns')
+
+if USE_SETUPTOOLS:
+ setup_kwargs.update({'test_suite' : 'test_greendns'})
+
+setup(**setup_kwargs)
Please sign in to comment.
Something went wrong with that request. Please try again.