Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement macros for PEP 518 & PEP 517 build systems #30

Closed
mcepl opened this issue May 6, 2019 · 3 comments
Closed

Implement macros for PEP 518 & PEP 517 build systems #30

mcepl opened this issue May 6, 2019 · 3 comments

Comments

@mcepl
Copy link
Contributor

mcepl commented May 6, 2019

See https://bugzilla.redhat.com/1685582 and there particularly links to https://discuss.python.org/t/pep-517-build-frontends-to-inform-users-about-wheel-basename/1026 and pypa/pip#6377

The first draft of proposed macros is

%pyproject_wheel: <flags...> %{__python3} -m pip wheel --no-deps --use-pep517 --no-build-isolation --progress-bar off --verbose .
+ conditional --global-option and --build-option based on %{?py_setup_args} and/or other macros.

%pyproject_install: %{__python3} -m pip install --root %{buildroot}  --strip-file-prefix %{buildroot} --no-deps  --progress-bar off *.whl
@sebix
Copy link

sebix commented Aug 2, 2020

See also python-poetry/poetry#1338 (comment) poetry will drop setup.py soon and therefore all packages using poetry will not be installable with the standard way then.

@bnavigator
Copy link
Collaborator

The macros are in use and should be documented. #59

@mcepl
Copy link
Contributor Author

mcepl commented Oct 8, 2020

I think the basic support of this has been included at least in 845439f.

@mcepl mcepl closed this as completed Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants