Install: used a setup.py file to install python files#8
Install: used a setup.py file to install python files#8matttbe wants to merge 3 commits intorastersoft:masterfrom
Conversation
|
Is a good idea, so if you can add the .mo files to it, I'll do the change. |
|
This is the setup.py we use in Debian and Ubuntu: |
|
Hi alessio: That setup.py has a good look, but seems to not install the .mo files... |
(un)install.sh files should be no longer needed to install the application. Renamed devede.py to devede and added a symbolic link (devede -> devede.py) in order to install the devede to /usr/bin/devede (and not /usr/bin/devede.py)
|
Hi rastersoft, I modify setup.py to create .mo files and install it in the right directory. (I used this file as example: https://bazaar.launchpad.net/~jaap.karssenberg/zim/pyzim/view/head:/setup.py) I'm sorry, I didn't test it a lot because I don't have a lot free time... but I hope it's correct and it's what you want to have! I hope it will help you and thank you for maintaining this application! Matt |
|
Please include this diff, install.sh is full of Linuxism and this makes hard times on BSD systems where's no bash shell in default install. setup.py is good way to go. Thanks |
Hello,
It's seems it's recommended to use 'distutils' python module to install python files.
Your script (install.sh) works fine but it seems Debian/Ubuntu devs prefer a cleaner method to install python files
Note that it can be interesting to also install .mo files with setup.py but I don't know if you really want to switch to setup.py but I just give you an idea ;)
Thank you for developing Devede!