-
Notifications
You must be signed in to change notification settings - Fork 85
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
misc: simplify setup.py #3815
misc: simplify setup.py #3815
Conversation
cmdclass=cast(Mapping[str, type[Command]], versioneer.get_cmdclass()), | ||
packages=find_packages(), | ||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is well typed now
@@ -57,6 +57,7 @@ xdsl-tblgen = "xdsl.tools.tblgen_to_py:main" | |||
[tool.setuptools] | |||
platforms = ["Linux", "Mac OS-X", "Unix"] | |||
zip-safe = false | |||
packages = ["xdsl"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only have one package, no need to auto-discover things
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3815 +/- ##
=======================================
Coverage 91.25% 91.25%
=======================================
Files 461 461
Lines 57557 57557
Branches 5549 5549
=======================================
Hits 52523 52523
Misses 3609 3609
Partials 1425 1425 ☔ View full report in Codecov by Sentry. |
This reverts commit 27bf821.
This has completely broken downstream |
Reopens #3848, which fixes a regression introduced by #3815, and partially fixed with #3847. While the issue is fixed on most installations with the other fix PR it breaks on some systems, and when a `site` folder is present after generating the docs website locally. We tested this change with @georgebisbas today, on whose linux machine xDSL cannot currently be installed, and works after applying the changes in this PR.
Reopens xdslproject#3848, which fixes a regression introduced by xdslproject#3815, and partially fixed with xdslproject#3847. While the issue is fixed on most installations with the other fix PR it breaks on some systems, and when a `site` folder is present after generating the docs website locally. We tested this change with @georgebisbas today, on whose linux machine xDSL cannot currently be installed, and works after applying the changes in this PR.
Just a bit of simplification. I tried to remove the whole thing but versioneer breaks.