id

227

title
[libervia] Setup.py: provide an uninstall and upgrade command
reporter
Xavier
created
03/01/2018, 13:23
updated
03/01/2018, 13:23
labels
libervia installation setup
type
feature request
status
queued
priority
normal
milestone
0.7
severity
normal
body

After [ulling some changesets from the repository, running: python setup.py uninstall or upgrade command give an 'invalid command' error message. On the other hand, running the 'install' command returns: Built to : /private/tmp/libervia/html symbolically linking /usr/local/lib/python2.7/site-packages/libervia/libervia.sh -> /usr/local/bin/libervia error: [Errno 17] File exists The sole way to fix that is to first remove the files and then run the 'install' command again. That would be quite cool to have a way to upgrade easily our libervia installations. Thank you

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.tickets%3A0_J4LjGvbQGwvyTRvsHjNYkT

Click to reduce…

From here: https://stackoverflow.com/questions/19133831/python-how-to-force-overwriting-of-files-when-using-setup-py-install-distutil You could try to force the install: python setup.py install --force From the comments: Note, the --force overwrites, and does not remove files. Of course, a distribution package would be better in the future. A PKGBUILD for Archlinux is almost finished. See: https://gitlab.com/jnanar/libervia_pkgbuild

Click to expand… Click to reduce…

You are not logged. You need to log in to comment.