Skip to content

Commit c0d34ca

Browse files
2 parents dad16ec + 5aa7850 commit c0d34ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+5
-846
lines changed

AppDefs.h

-138
This file was deleted.

Jamfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Parameters:
77
# python_version - version of python to use such. Default value: 3.10
8+
# install_location - place to put installed files. Defaults to site-packages
89
# py - alias of python_version
910
#
1011
# Documentation for jam can be found at /boot/system/documentation/packages/jam
@@ -64,9 +65,11 @@ rule Symlink
6465

6566
## Main build file
6667

67-
# Set python_version to default value if user did not specify value
68+
# Set user configurable variables to default value if user did not specify value
6869
py ?= 3.10 ;
6970
python_version ?= $(py) ;
71+
install_location ?=
72+
/boot/system/non-packaged/lib/python$(python_version)/site-packages ;
7073

7174
# Where to search for .cpp files
7275
SEARCH_SOURCE += bindings/interface bindings/app ;
@@ -138,5 +141,5 @@ MakeLocate __init__.py : $(LOCATE_TARGET) ; # Put it in the build directory
138141
File __init__.py : bindings/__init__.py ;
139142

140143
# As part of `jam install`, copy the following files:
141-
InstallLib /boot/system/non-packaged/lib/python$(python_version)/site-packages/Be
144+
InstallLib $(install_location)/Be
142145
: Be.so $(sourceFiles:S=.so) __init__.py ;

api/__init__.py

-84
This file was deleted.

api/_haiku.so

-1.46 MB
Binary file not shown.

api/haiku.cpp

-81
This file was deleted.

api/haiku.py

-25
This file was deleted.

api/test.py

-39
This file was deleted.

0 commit comments

Comments
 (0)