Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The world is coming to an end ... SAVE YOUR BUFFERS!!!


devel / comp.lang.python / Re: setup.py + cython == chicken and the egg problem

SubjectAuthor
o Re: setup.py + cython == chicken and the egg problemDan Stromberg

1
Re: setup.py + cython == chicken and the egg problem

<mailman.274.1660684899.20444.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=23631&group=comp.lang.python#23631

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: drsalists@gmail.com (Dan Stromberg)
Newsgroups: comp.lang.python
Subject: Re: setup.py + cython == chicken and the egg problem
Date: Tue, 16 Aug 2022 14:21:25 -0700
Lines: 27
Message-ID: <mailman.274.1660684899.20444.python-list@python.org>
References: <CAGGBd_q=kO9BS-pani1gv=z-wPiHg-JShn2Rpif+1-j7epXa8A@mail.gmail.com>
<CAPTjJmocsieMCDNeXiv5nOjPFi5MtMkw2e8a_8sSbboxM0X5mg@mail.gmail.com>
<CAGGBd_o579x-QiZb8STWNiMUQrs3VDd+PMCkVc1_39OAnCMO2w@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de 9IhbOhyK+f/Xx+Ce8lp0UglwVKzExVWADYXn/S55dpfA==
Return-Path: <drsalists@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=TX5xcWvn;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:problem': 0.03;
'2022': 0.05; 'aug': 0.07; 'sun,': 0.07; 'angelico': 0.09;
'binaries': 0.09; 'cc:addr:python-list': 0.09; 'dan': 0.09;
'&gt;': 0.14; 'that.': 0.15; 'cc:name:python list': 0.16;
'chrisa': 0.16; 'cython.': 0.16; 'focusing': 0.16;
'from:addr:drsalists': 0.16; 'from:name:dan stromberg': 0.16;
'something.': 0.16; 'wrote:': 0.16; 'python': 0.16; 'uses': 0.19;
'16,': 0.19; 'tue,': 0.19; 'cc:addr:python.org': 0.20; "i've":
0.22; 'version': 0.23; 'install': 0.23; 'code': 0.23; 'installed':
0.23; 'cc:2**0': 0.25; 'chris': 0.28; 'keeping': 0.28; "wouldn't":
0.32; 'message-id:@mail.gmail.com': 0.32; 'but': 0.32; "i'm":
0.33; 'someone': 0.34; 'package': 0.34; 'requires': 0.34; 'header
:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'running':
0.34; 'trying': 0.35; 'from:addr:gmail.com': 0.35;
'received:209.85': 0.37; 'file': 0.38; 'received:209': 0.39;
'wed,': 0.39; 'still': 0.40; 'including': 0.60; 'seen': 0.62;
'everything': 0.63; 'time.': 0.66
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc;
bh=MzVcsKcNMgI11FqYPrY2eIOgA9K5x5PtFT/SvLZuMng=;
b=TX5xcWvno1eKrGPxImMCnjAQhZrncnI9cCKQef8g+1M/hX3KmDcMF7HskZ1GL8BFX8
mlIwWKxvdyQdRZzO5BwsvKJ0DiIdAl63aqFIKgJPE3cj/zJ1wUCTiXqQBVqS7MqdN6+R
bflR6tm9bRtOGAw03rU73OVdBqw8Ikrc2VUjzZyT2dP1lFjCUzxVxvm/rs4Oip4SLjAM
oZUVzlGLt+z63a17k5XKa6fggc9Wqa6A+ZQvkbPmfkt56PsLuiPJN18+YaO3BEkj51qh
W1FnoPTgmqrrPQc13b4p35FRvCw1JP0uTv+sHReeFHKgIsu9eE54Wm83Obrvg+tGFj/o
KpNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc;
bh=MzVcsKcNMgI11FqYPrY2eIOgA9K5x5PtFT/SvLZuMng=;
b=jD/SgbmiwoFR9IIoJ6oXDddhxdnCPGML2hRTBhsd00x4aqHBprdG2V0qaJQMSiOlA+
ZgVIRtsi8G2AoNrVBoMVAHWB4k0OXNyUcxmooFf40VFGbqQfv6jzJP4OZw1wM+4KRWE4
5eITxfv12SR6EYSACpTHbef+jIC+XEqngFvay+wIx1XwLcnJWZ3oifABCz3tcytvT9Tx
K3iIDOf44Q+z7TWaVfJlTvKLYLBIWDb9sPIUrUl/cAXNhuoKa1qaJ0s3CphNfQjVPFkT
9Cl+Xer1t1LCk3GYWZzFdi5XqVZUip+zSMGLFW+R32N4XaDA0tJYztN4oEK37eA6cUon
OjEw==
X-Gm-Message-State: ACgBeo3qNIDpLAsm3fOIoe7sEqzYQtADA2Fr46heUbkQ3DAiBoF4tTc5
AR7Ef5BAf+tYGIegBbpOl9h5aQwGRPgDFc3lZEE=
X-Google-Smtp-Source: AA6agR44ZQSLq2o6dcwWTNcnH6IXW8iztMfrWlrxDqAD+M72jRHvHZ64iyVUBDj1BEVBx8B9Lc5WSfSzss3ColOrVVI=
X-Received: by 2002:a05:6512:1050:b0:491:dda4:1e2c with SMTP id
c16-20020a056512105000b00491dda41e2cmr4916771lfb.467.1660684897252; Tue, 16
Aug 2022 14:21:37 -0700 (PDT)
In-Reply-To: <CAPTjJmocsieMCDNeXiv5nOjPFi5MtMkw2e8a_8sSbboxM0X5mg@mail.gmail.com>
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAGGBd_o579x-QiZb8STWNiMUQrs3VDd+PMCkVc1_39OAnCMO2w@mail.gmail.com>
X-Mailman-Original-References: <CAGGBd_q=kO9BS-pani1gv=z-wPiHg-JShn2Rpif+1-j7epXa8A@mail.gmail.com>
<CAPTjJmocsieMCDNeXiv5nOjPFi5MtMkw2e8a_8sSbboxM0X5mg@mail.gmail.com>
 by: Dan Stromberg - Tue, 16 Aug 2022 21:21 UTC

On Tue, Aug 16, 2022 at 2:08 PM Chris Angelico <rosuav@gmail.com> wrote:

> On Wed, 17 Aug 2022 at 07:05, Dan Stromberg <drsalists@gmail.com> wrote:
> >
> > Hi folks.
> >
> > I'm attempting to package up a python package that uses Cython.
> >
> > Rather than build binaries for everything under the sun, I've been
> focusing
> > on including the .pyx file and running cython on it at install time.
> This
> > requires a C compiler, but I'm OK with that.
> >
>
> Is keeping the cythonized file an option? That would still require a C
> compiler, but wouldn't require Cython.
>
> ChrisA
>

That comes under "one of the many things I tried"; it seemed like some of
the code in the .c was tailored to the specific version of python it was
being installed on or something.

But if someone has seen this work well, I'm more than open to trying it
again.


devel / comp.lang.python / Re: setup.py + cython == chicken and the egg problem

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor