Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked frompoise/python

Commitdde0fe9

Browse files
rgbkrkSean OMeara
authored and
Sean OMeara
committed
[COOK-3788] Make symlink for source built python
Signed-off-by: Sean OMeara <someara@opscode.com>
1 parent5e02477 commitdde0fe9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎recipes/source.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,12 @@
5757
})ifplatform?("ubuntu") &&node['platform_version'].to_f >=12.04
5858
not_if{ ::File.exists?(install_path)}
5959
end
60+
61+
# Link install as the default python, to support Python 3.x
62+
# Otherwise the pip and virtualenv recipes won't work properly
63+
linknode['python']['binary']do
64+
toinstall_path
65+
not_if{ ::File.exists?(node['python']['binary'])}
66+
end
67+
68+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp