Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2022 13:32:23 +1100
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Yoshihiro Ota <ota@j.email.ne.jp>, freebsd-ports@freebsd.org
Cc:        FreeBSD Python Team <python@FreeBSD.org>
Subject:   Re: Adding support for py-package w/ setup.cfg but w/o setup.py
Message-ID:  <ff4dbb73-57c2-151a-1fab-48834a9b353f@FreeBSD.org>
In-Reply-To: <20220104194633.e087cd0f7dd8be67eae5c589@j.email.ne.jp>
References:  <20220104194633.e087cd0f7dd8be67eae5c589@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ff4dbb73-57c2-151a-1fab-48834a9b353f>