#!/usr/bin/env python3.0 import sys from distutils.core import setup from distutils.extension import Extension # # Make certain Python 3.0 is running this script if sys.version_info[0] != 3 : raise RuntimeError('Python 3.0 is required for this package.') setup( # PyPI settings (for pypi.python.org) name = 'PyExample', version = '0.1', description = 'example extension module for Python 3.0', long_description = ''' ''', author = 'Arc Riley', author_email = 'arcriley@gmail.com', maintainer = 'Arc Riley', maintainer_email = 'arcriley@gmail.org', download_url = 'http://svn.pysoy.org/trunk/pyexample', license = 'GNU General Public License version 3 (GPLv3)', classifiers = [ 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License v3', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: C', 'Programming Language :: Python :: 3', ], # Extension settings ext_modules = [ Extension( name = 'example', sources = ['examplemodule.c'], ), ], )