Fix broken installation
This commit is contained in:
@@ -5,13 +5,14 @@
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
python3 -m build --wheel --no-isolation .
|
||||
python setup.py import_cldr
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
python3 -m installer --destdir="$BPM_OUTPUT" dist/*.whl
|
||||
python setup.py install --root="$BPM_OUTPUT" --optimize=1 --skip-build
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/python-babel/LICENSE
|
||||
|
||||
Reference in New Issue
Block a user