- Introduced a new setup script using cx_Freeze to facilitate building the application. - Updated version.py to maintain consistency in version string formatting. - Modified build-backend.js to use poetry for executing the build process.
11 lines
236 B
JavaScript
Executable File
11 lines
236 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
const { execSync } = require('child_process');
|
|
try {
|
|
execSync(`poetry run python cx_setup.py build`, { stdio: 'inherit' });
|
|
} catch (error) {
|
|
console.error('Build failed:', error.message);
|
|
process.exit(1);
|
|
}
|
|
|