File tree 2 files changed +14
-1
lines changed
2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ function(easyinstall python_version package_name package_version)
68
68
set (PACKAGE_NAME ${package_name} )
69
69
set (PACKAGE_VERSION ${package_version} )
70
70
71
- configure_file (${CMAKE_SOURCE_DIR} /src/external/python_modules/easyinstall.py.in "${local_file} " )
71
+ configure_file (${CMAKE_SOURCE_DIR} /src/external/python_modules/darling/src/ easyinstall.py.in "${local_file} " )
72
72
install (PROGRAMS "${local_file} " DESTINATION libexec/darling/usr/bin RENAME "${package_name} -${python_version} " )
73
73
endfunction (easyinstall)
74
74
Original file line number Diff line number Diff line change
1
+ #!@EXEPATH@
2
+ import sys
3
+ sys.argv[0] = sys.argv[0].replace('-@PYTHON_VERSION@', '')
4
+ # EASY-INSTALL-ENTRY-SCRIPT: 'xattr==0.6.4','console_scripts','xattr'
5
+ __requires__ = '@PACKAGE_NAME@==@PACKAGE_VERSION@'
6
+ import sys
7
+ from pkg_resources import load_entry_point
8
+
9
+ if __name__ == '__main__':
10
+ sys.exit(
11
+ load_entry_point('@PACKAGE_NAME@==@PACKAGE_VERSION@', 'console_scripts', '@PACKAGE_NAME@')()
12
+ )
13
+
You can’t perform that action at this time.
0 commit comments