Commit Graph
11 Commits
Author SHA1 Message Date
Sevan Janiyan fd89d85a84 python major_minor_version() fix
With the recent upgrade from Python 3.7 to 3.10 the minor version
needs to be double digits.

Taken from upstream
https://github.com/Homebrew/brew/commit/a1efaf1864049977d7d90f32e5ff1e897cf57d96#diff-7e7f927b5a956040b1e5cd4fc54be50d29778145d2cfd57cd1598ed3823e95c0R54
2025-01-07 17:09:02 +00:00
BrewTestBot 5a2292ff22 Core files style updates.
Closes #42354.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 13:22:35 +01:00
Tim D. Smith 6863c385bc language/python: add package_available? helper
Add helper to check whether a module is importable.

Closes #37345.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-03 06:31:29 -08:00
Tim D. Smith 22c8813f9a language/python: add --no-user-cfg to setuptools options
Closes #35681.
2015-01-09 23:13:36 -08:00
Tim D. Smith 77ee012b11 Language::Python.setup_install: add deprecation warning 2014-12-10 14:18:24 -08:00
Tim D. Smith a66d29558f language/python: setup_install_args
Add a helper like std_cmake_args that returns the correct incantation
for invoking setup.py in a consistent way and with our preferred
arguments. Replaces setup_install.
2014-12-10 14:18:23 -08:00
Tim D. Smith 037c1b2136 language/python: make sure site_packages is writable 2014-11-14 16:05:18 -08:00
Tim D. Smith 3ea1f85edd language/python: new setup_install method
Closes #33988.
2014-11-10 15:41:57 -08:00
Tim D. Smith e0c9c15e06 language/python: add helper methods for pth detection 2014-11-02 10:30:21 -08:00
Jack Nagel f7b71472fe Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Mike McQuaid 23818b3718 Add Language::Python module. 2014-03-12 13:56:27 +00:00