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,17 +314,16 @@ if include_debugger: ...@@ -313,17 +314,16 @@ 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
...@@ -335,8 +335,8 @@ setup( ...@@ -335,8 +335,8 @@ setup(
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",
...@@ -351,10 +351,8 @@ setup( ...@@ -351,10 +351,8 @@ setup(
"Topic :: Software Development :: Libraries :: Python Modules" "Topic :: Software Development :: Libraries :: Python Modules"
], ],
scripts = scripts, scripts=scripts,
packages=packages, packages=packages,
py_modules=["cython"],
py_modules = ["cython"],
**setup_args **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