Comparing version 8.0.0 to 8.1.0
@@ -13,3 +13,3 @@ <!-- | ||
- [ ] documentation is changed or added | ||
- [ ] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines) | ||
- [ ] commit message follows [commit guidelines](https://github.com/googleapis/release-please#how-should-i-write-my-commits) | ||
@@ -16,0 +16,0 @@ ##### Description of change |
# Changelog | ||
### [0.9.1](https://www.github.com/nodejs/gyp-next/compare/v0.9.0...v0.9.1) (2021-05-14) | ||
### Bug Fixes | ||
* py lint ([3b6a8ee](https://www.github.com/nodejs/gyp-next/commit/3b6a8ee7a66193a8a6867eba9e1d2b70bdf04402)) | ||
## [0.9.0](https://www.github.com/nodejs/gyp-next/compare/v0.8.1...v0.9.0) (2021-05-13) | ||
### Features | ||
* use LDFLAGS_host for host toolset ([#98](https://www.github.com/nodejs/gyp-next/issues/98)) ([bea5c7b](https://www.github.com/nodejs/gyp-next/commit/bea5c7bd67d6ad32acbdce79767a5481c70675a2)) | ||
### Bug Fixes | ||
* msvs.py: remove overindentation ([#102](https://www.github.com/nodejs/gyp-next/issues/102)) ([3f83e99](https://www.github.com/nodejs/gyp-next/commit/3f83e99056d004d9579ceb786e06b624ddc36529)) | ||
* update gyp.el to change case to cl-case ([#93](https://www.github.com/nodejs/gyp-next/issues/93)) ([13d5b66](https://www.github.com/nodejs/gyp-next/commit/13d5b66aab35985af9c2fb1174fdc6e1c1407ecc)) | ||
### [0.8.1](https://www.github.com/nodejs/gyp-next/compare/v0.8.0...v0.8.1) (2021-02-18) | ||
@@ -4,0 +24,0 @@ |
# Code of Conduct | ||
* [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md) | ||
* [Node.js Moderation Policy](https://github.com/nodejs/admin/blob/master/Moderation-Policy.md) | ||
* [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md) | ||
* [Node.js Moderation Policy](https://github.com/nodejs/admin/blob/HEAD/Moderation-Policy.md) |
@@ -5,3 +5,3 @@ # Contributing to gyp-next | ||
This project is bound to the [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md). | ||
This project is bound to the [Node.js Code of Conduct](https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md). | ||
@@ -8,0 +8,0 @@ <a id="developers-certificate-of-origin"></a> |
@@ -79,3 +79,5 @@ 'use strict' | ||
} | ||
log.verbose('build dir', '"build" dir needed to be created?', isNew) | ||
log.verbose( | ||
'build dir', '"build" dir needed to be created?', isNew ? 'Yes' : 'No' | ||
) | ||
if (win) { | ||
@@ -82,0 +84,0 @@ findVisualStudio(release.semver, gyp.opts.msvs_version, |
@@ -11,4 +11,5 @@ 'use strict' | ||
const systemDrive = process.env.SystemDrive || 'C:' | ||
const username = process.env.USERNAME || process.env.USER || require('os').userInfo().username | ||
const username = process.env.USERNAME || process.env.USER || getOsUserInfo() | ||
const localAppData = process.env.LOCALAPPDATA || `${systemDrive}\\${username}\\AppData\\Local` | ||
const foundLocalAppData = process.env.LOCALAPPDATA || username | ||
const programFiles = process.env.ProgramW6432 || process.env.ProgramFiles || `${systemDrive}\\Program Files` | ||
@@ -19,11 +20,25 @@ const programFilesX86 = process.env['ProgramFiles(x86)'] || `${programFiles} (x86)` | ||
for (const majorMinor of ['39', '38', '37', '36']) { | ||
winDefaultLocationsArray.push( | ||
`${localAppData}\\Programs\\Python\\Python${majorMinor}\\python.exe`, | ||
`${programFiles}\\Python${majorMinor}\\python.exe`, | ||
`${localAppData}\\Programs\\Python\\Python${majorMinor}-32\\python.exe`, | ||
`${programFiles}\\Python${majorMinor}-32\\python.exe`, | ||
`${programFilesX86}\\Python${majorMinor}-32\\python.exe` | ||
) | ||
if (foundLocalAppData) { | ||
winDefaultLocationsArray.push( | ||
`${localAppData}\\Programs\\Python\\Python${majorMinor}\\python.exe`, | ||
`${programFiles}\\Python${majorMinor}\\python.exe`, | ||
`${localAppData}\\Programs\\Python\\Python${majorMinor}-32\\python.exe`, | ||
`${programFiles}\\Python${majorMinor}-32\\python.exe`, | ||
`${programFilesX86}\\Python${majorMinor}-32\\python.exe` | ||
) | ||
} else { | ||
winDefaultLocationsArray.push( | ||
`${programFiles}\\Python${majorMinor}\\python.exe`, | ||
`${programFiles}\\Python${majorMinor}-32\\python.exe`, | ||
`${programFilesX86}\\Python${majorMinor}-32\\python.exe` | ||
) | ||
} | ||
} | ||
function getOsUserInfo () { | ||
try { | ||
return require('os').userInfo().username | ||
} catch {} | ||
} | ||
function PythonFinder (configPython, callback) { | ||
@@ -30,0 +45,0 @@ this.callback = callback |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"installVersion": 9, | ||
@@ -17,0 +17,0 @@ "author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", |
@@ -52,3 +52,3 @@ # `node-gyp` - Node.js native addon build tool | ||
* Install Visual C++ Build Environment: [Visual Studio Build Tools](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools) | ||
(using "Visual C++ build tools" workload) or [Visual Studio 2017 Community](https://visualstudio.microsoft.com/pl/thank-you-downloading-visual-studio/?sku=Community) | ||
(using "Visual C++ build tools" workload) or [Visual Studio Community](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community) | ||
(using the "Desktop development with C++" workload) | ||
@@ -55,0 +55,0 @@ * Launch cmd, `npm config set msvs_version 2017` |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1933238
127
4036
62