Home » Wiki » client for h-node.org » Historique » Différences
Différences entre les révisions de 22:30, 12 Décembre 2011, créé par tonicucoz, et la révision de 14:55, 16 Septembre 2011
Note : le texte en rouge a été supprimé de la version précédente, le texte en vert a été ajouté à cette version et le texte en gris n'a pas été changé.
differences dans l'entrée: le titre
client for h-node.com
differences dans l'entrée: le texte de la page du wiki
[h1]Getting the h-client[/h1]
[p]You can download the client by typing the following command:[/p]

[code]svn co svn://svn.savannah.nongnu.org/h-client/trunk/h-client[/code]

[h1]Requirements[/h1]
[list]
[*] Python 2.6 or 2.7[/*]
[*] Distribute[/*]
[*] pyGTK[/*]
[*] pycurl[/*]
[/list]
[p](they would most likely be already installed). [/p]

[h2]Trisquel 4.5 users[/h2]
[p]Have to install python-setuptools in order to install the client:[/p]
[code]sudo aptitude install python-setuptools[/code]

[h2]Have a package built for you[/h2]

[p]Here's one liner I put together to build the package.[/p]

[code]cd ~/ && \
sudo apt-get install subversion checkinstall python-setuptools && \
svn co svn://svn.savannah.nongnu.org/h-client/trunk/h-client
cd h-client && \
version="0.$(svn log | grep r | cut -d ' ' -f1 | head -n1)" && \
sudo checkinstall --pakdir "$HOME/Desktop" --pkgname h-client \
--pkgversion "$version~svn" --backup=no --default python setup.py install && sudo ldconfig[/code]

[p]Send feedback to campaigns at fsf[/p]

[h1]Installation[/h1]
[p]In order to install it type:[/p]

[code]python setup.py install --user[/code]

[p]and run it using:[/p]

[code]~/.local/bin/h-client[/code]

[p](or just h-client if added ~/.local/bin to PATH).[/p]

[h2]Notes[/h2]
[p]If you are using Trisquel 4.0 you have to comment the row starting with "pycurl" inside the file setup.py (see the below piece of code) and install pycurl by means of the package manager[/p]

[code]
install_requires=(
# "pygtk", # tries to get an old version
#"pycurl"
),
)
[/code]
[p]
If it does not work try to empty the following folder:[/p]

[code]~/.local/lib/python2.6/site-packages/[/code]


[lang][[cliente para h-node.com|Español]][/lang]
Le contenu de cette page est dans le Domaine Public (voir la page CC0 pour plus d'informations). Quiquonque est libre de copier, modifier, publier, utiliser, vendre ou distribuer le texte , quelques soit le but et le moyen.
h-node.org is a hardware database project. It runs the h-source PHP software, commit cdeda15, available under the GNU General Public (GPLv3) License.
JavaScript license information