Commit 215ea5ba authored by Stefan Behnel's avatar Stefan Behnel

clean up package description in setup.py a little and fix indentation

parent cf8e1989
...@@ -6,6 +6,7 @@ except ImportError: ...@@ -6,6 +6,7 @@ except ImportError:
import os import os
import stat import stat
import subprocess import subprocess
import textwrap
import sys import sys
import platform import platform
...@@ -313,48 +314,45 @@ if include_debugger: ...@@ -313,48 +314,45 @@ if include_debugger:
setup_args['package_data']['Cython.Debugger.Tests'] = ['codefile', 'cfuncs.c'] setup_args['package_data']['Cython.Debugger.Tests'] = ['codefile', 'cfuncs.c']
setup( setup(
name = 'Cython', name='Cython',
version = version, version=version,
url = 'http://www.cython.org', url='http://www.cython.org',
author = 'Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.', author='Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.',
author_email = 'cython-devel@python.org', author_email='cython-devel@python.org',
description = "The Cython compiler for writing C extensions for the Python language.", description="The Cython compiler for writing C extensions for the Python language.",
long_description = """\ long_description=textwrap.dedent("""\
The Cython language makes writing C extensions for the Python language as The Cython language makes writing C extensions for the Python language as
easy as Python itself. Cython is a source code translator based on the easy as Python itself. Cython is a source code translator based on Pyrex_,
well-known Pyrex_, but supports more cutting edge functionality and but supports more cutting edge functionality and optimizations.
optimizations.
The Cython language is very close to the Python language (and most Python
The Cython language is very close to the Python language (and most Python code is also valid Cython code), but Cython additionally supports calling C
code is also valid Cython code), but Cython additionally supports calling C functions and declaring C types on variables and class attributes. This
functions and declaring C types on variables and class attributes. This allows the compiler to generate very efficient C code from Cython code.
allows the compiler to generate very efficient C code from Cython code.
This makes Cython the ideal language for writing glue code for external C
This makes Cython the ideal language for writing glue code for external C libraries, and for fast C modules that speed up the execution of Python
libraries, and for fast C modules that speed up the execution of Python code.
code.
.. _Pyrex: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
.. _Pyrex: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ """),
""", classifiers=[
classifiers = [ "Development Status :: 5 - Production/Stable",
"Development Status :: 5 - Production/Stable", "Intended Audience :: Developers",
"Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent",
"Operating System :: OS Independent", "Programming Language :: Python",
"Programming Language :: Python", "Programming Language :: Python :: 2",
"Programming Language :: Python :: 2", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3", "Programming Language :: C",
"Programming Language :: C", "Programming Language :: Cython",
"Programming Language :: Cython", "Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Compilers", "Topic :: Software Development :: Libraries :: Python Modules"
"Topic :: Software Development :: Libraries :: Python Modules" ],
],
scripts=scripts,
scripts = scripts, packages=packages,
packages=packages, py_modules=["cython"],
**setup_args
py_modules = ["cython"], )
**setup_args
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment