Page 1 of 1

Setup.py configuration

Published: January 4, 2016 - 3:57 PM
by Alexis
Hello everyone,

I'd like to configure setup.py for several internal applications where I need to add options (language, license key, etc.).

However, I can't find the basic commands to enter anywhere (unless I've missed something).

Do you have any suggestions?

Thank you all for your help.

Re: Configuring Setup.py

Published: January 6, 2016 - 1:25 AM
by dcardon
Hello Alexis,

without more details, it will be difficult to provide answers.

For more advanced configuration examples, it's helpful to open existing packages from the wapt.tranquil.it website and see how they're structured. You'll likely find what you're looking for.

To simplify package creation, you can duplicate the tis-waptdev package and install it on your machine. Immediately afterward, run `wapt-get session-setup ALL` from the command line to properly configure the PYTHONPATH of the PyScripter.

Then, run `wapt-get edit tis-libreoffice` (or another package), which will open the package's setup.py file, providing some inspiration.

Best regards,

Denis

Re: Configuring Setup.py

Published: January 6, 2016 - 3:25 PM
by Alexis
Thank you so much for this answer, I'll try it right away.

Thanks again, and all the best,

Alexis.