Commit fe4017fa authored by Stefane Fermigier's avatar Stefane Fermigier

chore: prepare release.

parent df19f40c
...@@ -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",
......
...@@ -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
......
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