[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Questions regarding Python packaging
From: |
Tanguy Le Carrour |
Subject: |
Questions regarding Python packaging |
Date: |
Sun, 8 Nov 2020 15:27:17 +0100 |
Hi Guix!
I have some general questions regarding Python packaging, that are not
directly related to the "poetry build system" I'm currently working on.
I've just learned, by accident (working on `python-keyring` [1]), that
`python setup.py install` was somehow deprecated in favor of tools like
`pep517` or `build`.
So, I've tried packaging `python-keyring` with those two…
`pep517` keeps on trying to download dependencies, which won't work.
`build` crashes with "ZIP does not support timestamps before 1980",
which, I guess is related to the fact that everything in the store is
timestamped to January 1st 1970.
Does anyone have a opinion on Python packaging and how it should be done?
Any idea how I can circumvent the timestamps problem? Is this fish too
big for me?!
Any help or advice welcome! Thanks!
--
Tanguy
[1]: https://github.com/jaraco/keyring/issues/469
Keyring package version is set to 0.0.0, this might be related to
the fact that, upstream, they build it with `python -m pep517.build .`,
not with `python setup.py install`… but it could also not be
related at all! But in order to be sure, I have to try!
- Questions regarding Python packaging,
Tanguy Le Carrour <=