# HG changeset patch # User Peter Sanchez # Date 1290489017 28800 # Mon Nov 22 21:10:17 2010 -0800 # Node ID 4173dd33db567083fa2f3acca8a392548bcc6cce # Parent 2e5036cd28195739c49e24e9adfda2ecfefe7712 Added MANIFEST.in and made setup.py more pypi friendly diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include LICENSE +include README +include CHANGELOG +include example.py diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ setup( name='zerigodns', - version="0.2", + version=__import__('zerigodns').__version__, package_dir={'zerigodns': 'zerigodns'}, packages=['zerigodns',], description='Python package to interface with Zerigo DNS API.', @@ -15,12 +15,12 @@ long_description=long_description, platforms=["any"], classifiers=[ - 'Development Status :: 2 - Beta', + 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Environment :: Any Environment', + 'Environment :: Web Environment', ], -) \ No newline at end of file +) diff --git a/zerigodns/__init__.py b/zerigodns/__init__.py --- a/zerigodns/__init__.py +++ b/zerigodns/__init__.py @@ -2,4 +2,5 @@ See BSD-LICENSE for license information. ''' from api import ZerigoError, ZerigoNotFound, NSZone, NSHost, \ - NSZoneTemplate, NSHostTemplate \ No newline at end of file + NSZoneTemplate, NSHostTemplate +__version__ = '0.3'