public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Libor Ukropec <ace@seznam.cz>
To: cygwin-apps@cygwin.com
Subject: cygclass python-wheel setup.cfg-only projects
Date: Thu, 1 Dec 2022 23:20:52 +0100	[thread overview]
Message-ID: <a9d73374-7f92-356e-d404-d3b33438e33d@seznam.cz> (raw)

Hello,

I have question to cygclass python-wheel. It seems that setup.py is being omited in some 
python packages (here I faced it in the python-fasteners) and as described here: 
https://setuptools.pypa.io/en/latest/setuptools.html , chapter "setup.cfg-only projects"

 > If setup.py is missing from the project directory when a PEP 517 build is invoked,
 > setuptools emulates a dummy setup.py file containing only a setuptools.setup() call.

Currently the cyglass requires the setup.py being present, otherwise it throws error "No 
Python Distutils module detected"

IMHO would be nice if the cygclass handle this case. Or should I create a patch that 
inserts empty setup.py module instead?

Thank you,
Libor

             reply	other threads:[~2022-12-01 22:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01 22:20 Libor Ukropec [this message]
2022-12-02 12:10 ` Jon Turney
2022-12-04 14:55   ` Jon Turney
2022-12-06  0:20     ` Libor Ukropec
2022-12-11 13:58       ` Jon Turney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9d73374-7f92-356e-d404-d3b33438e33d@seznam.cz \
    --to=ace@seznam.cz \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).