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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
fe4017fa
Commit
fe4017fa
authored
Dec 08, 2021
by
Stefane Fermigier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: prepare release.
parent
df19f40c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
34 deletions
+25
-34
git
git
+0
-0
setup.py
setup.py
+23
-33
tox.ini
tox.ini
+2
-1
No files found.
git
deleted
100644 → 0
View file @
df19f40c
setup.py
View file @
fe4017fa
...
@@ -16,6 +16,20 @@ is_cpython = platform.python_implementation() == 'CPython'
...
@@ -16,6 +16,20 @@ is_cpython = platform.python_implementation() == 'CPython'
# versions of packages which are not compatible with the running python
# versions of packages which are not compatible with the running python
PYTHON_REQUIRES
=
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
PYTHON_REQUIRES
=
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
#
# Metadata for the Cython+ project
#
NAME
=
"cython-plus"
VERSION
=
"0.1.0"
HOME
=
"https://cython.plus/"
AUTHOR
=
'The Cython+ consortium + the original Cython authors'
AUTHOR_EMAIL
=
'contact@cython.plus'
DESCRIPTION
=
"Multi-core concurrent programming in Python, based on the Cython language"
#
# Original setup.py
#
if
sys
.
platform
==
"darwin"
:
if
sys
.
platform
==
"darwin"
:
# Don't create resource files on OS X tar.
# Don't create resource files on OS X tar.
os
.
environ
[
'COPY_EXTENDED_ATTRIBUTES_DISABLE'
]
=
'true'
os
.
environ
[
'COPY_EXTENDED_ATTRIBUTES_DISABLE'
]
=
'true'
...
@@ -232,38 +246,16 @@ def run_build():
...
@@ -232,38 +246,16 @@ def run_build():
if
compile_cython_itself
and
(
is_cpython
or
cython_compile_more
):
if
compile_cython_itself
and
(
is_cpython
or
cython_compile_more
):
compile_cython_modules
(
cython_profile
,
cython_compile_more
,
cython_with_refnanny
)
compile_cython_modules
(
cython_profile
,
cython_compile_more
,
cython_with_refnanny
)
from
Cython
import
__version__
as
version
# from Cython import __version__ as version
version
=
VERSION
setup
(
setup
(
name
=
'Cython'
,
name
=
NAME
,
version
=
version
,
version
=
version
,
url
=
'https://cython.org/'
,
url
=
HOME
,
author
=
'Robert Bradshaw, Stefan Behnel, Dag Seljebotn, Greg Ewing, et al.'
,
author
=
AUTHOR
,
author_email
=
'cython-devel@python.org'
,
author_email
=
AUTHOR_EMAIL
,
description
=
"The Cython compiler for writing C extensions for the Python language."
,
description
=
DESCRIPTION
,
long_description
=
textwrap
.
dedent
(
"""
\
The Cython language makes writing C extensions for the Python language as
easy as Python itself. Cython is a source code translator based on Pyrex_,
but supports more cutting edge functionality and optimizations.
The Cython language is a superset of the Python language (almost all Python
code is also valid Cython code), but Cython additionally supports optional
static typing to natively call C functions, operate with C++ classes and
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/C++ libraries, and for fast C modules that speed up the execution of
Python code.
Note that for one-time builds, e.g. for CI/testing, on platforms that are not
covered by one of the wheel packages provided on PyPI *and* the pure Python wheel
that we provide is not used, it is substantially faster than a full source build
to install an uncompiled (slower) version of Cython with::
pip install Cython --install-option="--no-cython-compile"
.. _Pyrex: https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
"""
),
license
=
'Apache'
,
license
=
'Apache'
,
classifiers
=
[
classifiers
=
[
dev_status
(
version
),
dev_status
(
version
),
...
@@ -274,11 +266,9 @@ def run_build():
...
@@ -274,11 +266,9 @@ def run_build():
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2"
,
"Programming Language :: Python :: 2.7"
,
"Programming Language :: Python :: 2.7"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3"
,
"Programming Language :: Python :: 3.4"
,
"Programming Language :: Python :: 3.5"
,
"Programming Language :: Python :: 3.6"
,
"Programming Language :: Python :: 3.7"
,
"Programming Language :: Python :: 3.7"
,
"Programming Language :: Python :: 3.8"
,
"Programming Language :: Python :: 3.8"
,
"Programming Language :: Python :: 3.9"
,
"Programming Language :: Python :: Implementation :: CPython"
,
"Programming Language :: Python :: Implementation :: CPython"
,
"Programming Language :: Python :: Implementation :: PyPy"
,
"Programming Language :: Python :: Implementation :: PyPy"
,
"Programming Language :: C"
,
"Programming Language :: C"
,
...
...
tox.ini
View file @
fe4017fa
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
# and then run "tox" from this directory.
# and then run "tox" from this directory.
[tox]
[tox]
envlist
=
py27, py37, py38, py39, pypy
# envlist = py27, py37, py38, py39, py310, pypy
envlist
=
py37, py38, py39, py310, pypy
[testenv]
[testenv]
setenv
=
CFLAGS=-O0 -ggdb
setenv
=
CFLAGS=-O0 -ggdb
...
...
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