-
Notifications
You must be signed in to change notification settings - Fork 4
Packaging
Package Python code with PyInstaller
- Run anaconda prompt, activate the conda environment (if you haven't done that already)
- Navigate to 'src' folder
- Run:
python -m PyInstaller pysoda/api.py --distpath pysodadist
Optional
- Edit spec file as needed (e.g. exclude PyQt5, tkinter). Especially, adding the following may be required on Windows and MAC:
hiddenimports=['pkg_resources.py2_warn']
- To generate exe, Run:
python -m PyInstaller --noconsole api.spec --distpath pysodadist
- for electron packaging, build and pysoda folder (with the .py files) could be deleted or ignored
You can then delete the "build" folder an the "api.spec" file generated by PyInstaller before you move on since they are not necessary for packaging and distributing the app.
- Windows:
"./node_modules/.bin/"electron-packager . --overwrite --icon=assets/app-icon/win/soda_icon.ico
- MAC:
"./node_modules/.bin/"electron-packager . --overwrite --icon=assets/app-icon/mac/soda_icon.icns
- Linux:
"./node_modules/.bin/"electron-packager . --overwrite --icon=assets/app-icon/png/soda_icon.png
If error run npm install electron-packager --save-dev and try again
Organize and submit SPARC datasets with SODA
Connect your Pennsieve account with SODA
Upload a local dataset to Pennsieve
Connect your Airtable account with SODA
Create dataset_description.xlsx
Submit for pre-publishing review
Installing the Pennsieve Agent
Pennsieve Agent is already running
Sending log files to SODA Team
Issues regarding hidden files or folders
How to structure the submission metadata file
How to structure the dataset_description metadata file
How to structure the subjects metadata file
How to structure the samples metadata file