Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
ec9058e6
Commit
ec9058e6
authored
Oct 01, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor clarification in setup.py, let metadata reflect alpha/beta status
parent
b6b10a79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
8 deletions
+21
-8
setup.py
setup.py
+21
-8
No files found.
setup.py
View file @
ec9058e6
...
@@ -295,6 +295,18 @@ setup_args.update(setuptools_extra_args)
...
@@ -295,6 +295,18 @@ setup_args.update(setuptools_extra_args)
from
Cython
import
__version__
as
version
from
Cython
import
__version__
as
version
def
dev_status
():
if
'b'
in
version
or
'c'
in
version
:
# 1b1, 1beta1, 2rc1, ...
return
'Development Status :: 4 - Beta'
elif
'a'
in
version
:
# 1a1, 1alpha1, ...
return
'Development Status :: 3 - Alpha'
else
:
return
'Development Status :: 5 - Production/Stable'
packages
=
[
packages
=
[
'Cython'
,
'Cython'
,
'Cython.Build'
,
'Cython.Build'
,
...
@@ -328,19 +340,20 @@ setup(
...
@@ -328,19 +340,20 @@ setup(
easy as Python itself. Cython is a source code translator based on Pyrex_,
easy as Python itself. Cython is a source code translator based on Pyrex_,
but supports more cutting edge functionality and optimizations.
but supports more cutting edge functionality and optimizations.
The Cython language is very close to the Python language (and most Python
The Cython language is a superset of the Python language (almost all Python
code is also valid Cython code), but Cython additionally supports calling C
code is also valid Cython code), but Cython additionally supports optional
functions and declaring C types on variables and class attributes. This
static typing to natively call C functions, operate with C++ classes and
allows the compiler to generate very efficient C code from Cython code.
declare fast C types on variables and class attributes. This 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
libraries, and for fast C modules that speed up the execution of Python
C/C++ libraries, and for fast C modules that speed up the execution of
code.
Python
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"
,
dev_status
()
,
"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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment