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

Create macro for python compile with multiversion in mind. #41

Closed
scarabeusiv opened this issue Jan 16, 2020 · 1 comment · Fixed by #60
Closed

Create macro for python compile with multiversion in mind. #41

scarabeusiv opened this issue Jan 16, 2020 · 1 comment · Fixed by #60
Assignees

Comments

@scarabeusiv
Copy link
Contributor

%if 0%{?have_python2} && ! 0%{?skip_python2}
%py_compile %{buildroot}%{python2_sitelib}/jaraco/
%py_compile -O %{buildroot}%{python2_sitelib}/jaraco/
%endif

%if 0%{?have_python3} && ! 0%{?skip_python3}
%py3_compile %{buildroot}%{python3_sitelib}/jaraco/
%py3_compile -O %{buildroot}%{python3_sitelib}/jaraco/
%endif

^ The above is way too hidious and we should create a wrapper that would do that with all pythons in mind.

@scarabeusiv scarabeusiv changed the title Create macro for python comile with multiversion in mind. Create macro for python compile with multiversion in mind. Apr 21, 2020
@bnavigator
Copy link
Collaborator

#60 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants