-setup(name = 'getdate',
- version = '1.0.0',
- description = 'Date/time parser',
- author = 'Mark Wooding',
- author_email = 'mdw@distorted.org.uk',
- license = 'GNU General Public License',
- ext_modules = [Extension('getdate', ['module.c', 'getdate.c'])])
+getdate = DC.Extension('getdate',
+ ['module.c', 'getdate.c'])
+
+DC.setup(name = 'getdate-python',
+ version = MS.auto_version(),
+ description = 'Date/time parser',
+ author = 'Mark Wooding',
+ author_email = 'mdw@distorted.org.uk',
+ license = 'GNU General Public License',
+ ext_modules = [getdate])