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

Setuptools fix #591

Merged
merged 2 commits into from
May 25, 2023
Merged

Setuptools fix #591

merged 2 commits into from
May 25, 2023

Conversation

neworderofjamie
Copy link
Contributor

First of all, massive thanks to @erolm-a for this one! The problem was that the standard setuptools build step collects python modules to include before building extensions which is bad because SWIG generates python modules as part of building extensions! This solves this by simply re-ordering the sub-commands within the setuptools build command. I have fixed this for GeNN 5 by getting rid of SWIG but GeNN 4 seems to be malingering so this is very helpful!

Fixes #590
Fixed #310

@neworderofjamie neworderofjamie added this to the GeNN 4.9.0 milestone May 24, 2023
@codecov
Copy link

codecov bot commented May 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (cf51800) 88.79% compared to head (c925fbf) 88.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #591   +/-   ##
=======================================
  Coverage   88.79%   88.79%           
=======================================
  Files          76       76           
  Lines       12428    12428           
=======================================
  Hits        11036    11036           
  Misses       1392     1392           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@neworderofjamie neworderofjamie merged commit 597a93c into master May 25, 2023
@neworderofjamie neworderofjamie deleted the setuptools_fix branch May 25, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve shared library discovery during setup.py python setup.py install is broken
1 participant