62 Commits

Author SHA1 Message Date
Vlad Shablinsky
3fb5d70a72
Unify Version.create usage
Substitue each Version.new and HeadVersion.new with Version.create
to unify Version and HeadVersion instantiation among core code.

Note that this does not relate to Mac::OS::Version class.
2016-07-16 20:39:13 +08:00
Martin Afanasjew
4f2e31b3e3 language/python: fix bogus require
Including the extension is not an error, but we don't normally do this.
2016-07-09 11:58:43 +02:00
BrewTestBot
13d544e11e Core files style updates.
Closes Homebrew/homebrew#42354.

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

Closes Homebrew/homebrew#37345.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
2015-03-03 06:31:29 -08:00
Tim D. Smith
c195f072d1 language/python: add --no-user-cfg to setuptools options
Closes Homebrew/homebrew#35681.
2015-01-09 23:13:36 -08:00
Tim D. Smith
65a7a631ea Language::Python.setup_install: add deprecation warning 2014-12-10 14:18:24 -08:00
Tim D. Smith
75535395ac 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
7348206e53 language/python: make sure site_packages is writable 2014-11-14 16:05:18 -08:00
Tim D. Smith
cb684f6c1a language/python: new setup_install method
Closes Homebrew/homebrew#33988.
2014-11-10 15:41:57 -08:00
Tim D. Smith
b584689afa language/python: add helper methods for pth detection 2014-11-02 10:30:21 -08:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Mike McQuaid
34edc35b9b Add Language::Python module. 2014-03-12 13:56:27 +00:00