-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
How about a PowerShell based 'make' file? #3145
Comments
I'm not a Windows user, so I don't have strong opinion for this. @shimizukawa what do you think? |
I just found out that the next PowerShell version (6.0) will be released for "all" operating system (incl. Linux). The project is hosted on GitHub. I'll check how good this port is and if it supports Windows PowerShell files also on Linux (e.g. the path separator problem ...). |
Now Makefile/make.bat become simpler than earlier. So I'm OK to have PowerShell based one. Memo: CPython venv module also includes Activate.ps1 https://github.com/python/cpython/tree/master/Lib/venv/scripts/nt for PowerShell users. |
What for is the configuration option According to Addendum: Which syntax is preferred? Example 1: Example 2: While the second can be implemented, I would prefer the first, because this is available via tab completion and is equivalent to the displayed help page by |
Pull request #3153 should implement a first version of a new build script written in PowerShell. |
Has this issue been abandoned? |
Sorry, I haven't had time to continue on this PR. You can take over and finish it if you like. It's hard to fulfill all requirements drawn up by sphinx-doc. |
Since Sphinx is fading out Makefiles, should this issue be closed as wontfix? |
@cblegare how are make files replaced? The problem was not the Makefile itself, the problem of Sphinx is, it provides outdated |
@Paebbels I absolutely agree that *.bat are artifacts from another era. From the issue above (#5618)
My question was simply based on the fact that since in more than 5 years nobody contributed a patch for a make.ps1 script and that the project maintainers are looking into making these scripts (including the actual Makefile itself) irrelevant anyways, maybe one could find it appropriate to close this issue. |
Closing in favour of #5618. A |
Hello,
the generated
make.bat
is kind of outdated on modern Windows machines. At first batch files are called command files (*.cmd
) since more than 15 years (Windows 2000). Second, the old Windows command line (cmd.exe
) is also outdated. Windows is shipped with PowerShell since Windows Vista.So how about a PowerShell based
make.ps1
file with self-documentation (integrated help page)?I could provide a basic file with a selection of "build targets". I don't use all target nor have I a full setup to test them all. So I could provide a start for further feature additions.
Kind regards
Patrick Lehmann
The text was updated successfully, but these errors were encountered: