mirror of https://github.com/DJ2LS/FreeDATA.git
adjusted pip package
parent
1224a74621
commit
981b279ee9
|
@ -12,6 +12,11 @@ jobs:
|
|||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install Node.js, NPM and Yarn
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Install Linux dependencies
|
||||
run: |
|
||||
sudo apt install -y portaudio19-dev libhamlib-dev libhamlib-utils build-essential cmake python3-libhamlib2 patchelf
|
||||
|
@ -22,6 +27,12 @@ jobs:
|
|||
pip install -r requirements.txt
|
||||
pip install wheel
|
||||
|
||||
- name: Build GUI
|
||||
working-directory: freedata_gui
|
||||
run: |
|
||||
npm i
|
||||
npm run build
|
||||
|
||||
- name: Build package
|
||||
run: |
|
||||
python setup.py sdist bdist_wheel
|
||||
|
|
8
setup.py
8
setup.py
|
@ -8,8 +8,8 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|||
long_description = fh.read()
|
||||
|
||||
setup(
|
||||
name='freedata-server',
|
||||
version='0.15.4a5',
|
||||
name='freedata',
|
||||
version='0.16.2a',
|
||||
packages=find_packages(where='.'),
|
||||
package_dir={'': '.'},
|
||||
install_requires=required,
|
||||
|
@ -23,12 +23,14 @@ setup(
|
|||
license='GPL3.0',
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'freedata-server=freedata_server.server:main', # Points to the main() function in server.py
|
||||
'freedata=freedata_server.server:main', # Points to the main() function in server.py
|
||||
],
|
||||
},
|
||||
include_package_data=True, # Ensure non-python files are included if specified
|
||||
package_data={
|
||||
# Include all files under any directory within the 'freedata_server' package
|
||||
'freedata_server': ['lib/**/*'], # Recursive include for all files in 'lib' and its subdirectories
|
||||
'freedata_gui': ['dist/**/*'], # gui folder
|
||||
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue