From nobody Fri Jan 21 02:32:23 2022 X-Original-To: python@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8BC02196E65D; Fri, 21 Jan 2022 02:32:30 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jg3Lh552kz4sKB; Fri, 21 Jan 2022 02:32:28 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pj1-x1029.google.com with SMTP id v11-20020a17090a520b00b001b512482f36so4988720pjh.3; Thu, 20 Jan 2022 18:32:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:reply-to:subject :content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=niuTawHUB2nF08ZnGopwP4Q8m9eLUgCjVeKCa06E5tE=; b=nFCCjmnUjbmg8NuAA2vMeWnLf6b4HrU6wA0jaIXuJPRMfs2lrSdwNxnH85vP0Bz8Ri IRBFpDowFXu9a7v9e2pAIx+n8tWKLcV9t0KzGJbx/rmCZ2WPlCDw6aokIg0sGj/SyA1z myIu91qh2TJAUuHKnSgb42tV6b6PCQT7sYQheL+n7NzeF2OB0F0OD6Zs1h8gbubIZ8rt dTmDqEpIjYsJzOVL1WFz/h8dUreB7cVojyw1/dKrllO29acQdhkwmKrQOBCn8YFBNkIB As9j1R7Exr1Avjx1w5t4FpT9lAjoyLmh7uN9q1YVagaLjR5hFa0fJFRap38KLT8dNO3+ An2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:subject:content-language:to:references:cc:from:in-reply-to :content-transfer-encoding; bh=niuTawHUB2nF08ZnGopwP4Q8m9eLUgCjVeKCa06E5tE=; b=Ro7radaQpRV/BQIELQoutFO1368SdGFqBkqFIEABfj0kDcGe8be/6HxRpEAq7vCq6M OMDD2Rl2HUHsmq3FH/ZhGn6+XMHl9Xn0j7I4ni2Rq4rGluy2o1SqxJwFIrMiTIy7cMYT varFNWYakfujJL5cGSlU576GMAzlhM27cc+goDbdgD67ltnK69Yf0LDqS1uO4F7s/RJl x1b93x1KWIo/7qIPLGSyjFKLAfUAGKgBnuDFalQQJKt5P1PbIrPHvvmhzWHiz5qQIyow JwkSALbROHOSILiZz6596BChSPJ77pW6BXv1rgOpknwtBvG+gjZbICNY4FmLTe75YkaW 1aWw== X-Gm-Message-State: AOAM532LlvAdqxk5OPOgC9cEbO30zBvMeTlrOKrRadSb0+adBC6C/W+m URQ5EI/HbMdi0P96ZFElE8o= X-Google-Smtp-Source: ABdhPJyqDjj13xpzDcncpgeBjHVwSy/1lREHT+Jb/qvvLv5LbkeBcVVQefwuheYDcOihdLMAC/jDdw== X-Received: by 2002:a17:90b:1bc9:: with SMTP id oa9mr2309936pjb.126.1642732347107; Thu, 20 Jan 2022 18:32:27 -0800 (PST) Received: from ?IPV6:2403:5807:1b:1:11c0:627c:7a74:7cf1? (2403-5807-1b-1-11c0-627c-7a74-7cf1.ip6.aussiebb.net. [2403:5807:1b:1:11c0:627c:7a74:7cf1]) by smtp.gmail.com with ESMTPSA id o18sm4832691pfu.45.2022.01.20.18.32.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Jan 2022 18:32:26 -0800 (PST) Message-ID: Date: Fri, 21 Jan 2022 13:32:23 +1100 List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Thunderbird/97.0a1 Reply-To: koobs@FreeBSD.org Subject: Re: Adding support for py-package w/ setup.cfg but w/o setup.py Content-Language: en-US To: Yoshihiro Ota , freebsd-ports@freebsd.org References: <20220104194633.e087cd0f7dd8be67eae5c589@j.email.ne.jp> Cc: FreeBSD Python Team From: Kubilay Kocak In-Reply-To: <20220104194633.e087cd0f7dd8be67eae5c589@j.email.ne.jp> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Jg3Lh552kz4sKB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=nFCCjmnU; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::1029 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-0.74 / 15.00]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-0.56)[-0.558]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1029:from]; MLMMJ_DEST(0.00)[freebsd-ports,python]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On 5/01/2022 11:46 am, Yoshihiro Ota wrote: > Hi, > > I recently create a new PyPI tool for FreeBSD. > Based on PyPI's instruction, I have setup.cfg only without setup.py. > https://packaging.python.org/en/latest/tutorials/packaging-projects/ suggests go with setup.cfg only for simplicity. > > I'm now trying to make a port for it. > However, FreeBSD ports expects a setup.py file. > > It looks if we can run "from setuptools import setup; setup()" in Mk/Uses/python.mk if PYSETUP file doesn't exit. > > I'm wondering if some FreeBSD python port expert can consider no PYSETUP file configuration. > > Hiro > We're going to need to start supporting the newer style build system in the medium-long term as more packages migrate away from setup.py's The Python Team welcomes people who are interested in working on proofs of concept for these mechanisms with a view to including them in python.mk Please reach out on #freebsd-python on Libera Chat IRC and we can get those discussions and PoC's happening ./koobs