Pectojin / duplicati-client

A command line client for controlling the Duplicati Server
GNU Lesser General Public License v2.1
75 stars 20 forks source link

Add details about build scripts #30

Closed Erim24 closed 2 years ago

Erim24 commented 2 years ago

Hello,

I tried to build the self-contained binary for windows today. And as a beginner, it took me a while to realize on how to do that. To make it easier for people I would suggest to add some more detailed instructions on how to run the build script:

In detail, the issues I had, were:

  1. I ran the script from the main folder (./duplicati-client) instead of a sub folder (eg. ./duplicait-client/build).
  2. pyinstaller is a dependency for the build process, which is not covered in the requirements.txt. Adding a file specifying requirements for building the binary could help (e.g. build-requirements.txt) and adding a comment.
Pectojin commented 2 years ago

Thanks for your feedback. I've added some notes on building releases, which hopefully can help others in the same situation.

https://github.com/Pectojin/duplicati-client#building-releases