PMXBOT Log file Viewer

Help | Karma | Search:

#pypa-dev logs for Thursday the 11th of July, 2019

(Back to #pypa-dev overview) (Back to channel listing) (Animate logs)
[09:58:51] <ronny> pradyunsg: is there any way for setup.py to access the pip egg/dist info when running pip wheel against a distribution - setuptools_scm needs access to the version metadata that came out of that as the copy doesnt include the scm
[10:01:13] <pradyunsg> ronny: hmm, not sure tbh. pip wheel would just run setup.py bdist_wheel on non-PEP 517 builds. I don't think we provide any additional information to it.
[10:02:30] <ronny> pradyunsg: it copies the sdist content into a tmpdir and with that i no longer have access to the scm metadata, for some time there was this pip egg info folder with some metadata, but thats no longer working, so pip wheel breaks with setuptools_scm, which is a pain
[10:04:01] <pradyunsg> ronny: I'm not 100% sure off the top of my head about this tbh.
[10:07:10] <ronny> i'll make a clone and dlook it up on pip master ^^
[10:08:10] <ronny> ah, there is a egg_info_dir = os.path.join(self.setup_py_dir, 'pip-egg-info')
[10:09:57] <ronny> ah, and there is prepare_pep517_metadata