Skip to content
Snippets Groups Projects
Commit 3271f1a8 authored by inso's avatar inso
Browse files

Version numbering and bugfix on windows

parent d50a2c09
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,7 @@ target = Executable( ...@@ -42,7 +42,7 @@ target = Executable(
# creation du setup # creation du setup
setup( setup(
name = "cutecoin", name = "cutecoin",
version = "0.4.0", version = "0.4.1",
description = "UCoin client", description = "UCoin client",
author = "Inso", author = "Inso",
options = {"build_exe": options}, options = {"build_exe": options},
......
...@@ -6,16 +6,19 @@ Created on 7 févr. 2014 ...@@ -6,16 +6,19 @@ Created on 7 févr. 2014
import logging import logging
from optparse import OptionParser from optparse import OptionParser
from os import environ from os import environ, path
import ucoin import ucoin
import gnupg import gnupg
if "XDG_CONFIG_HOME" in environ: if "XDG_CONFIG_HOME" in environ:
config_path = environ["XDG_CONFIG_HOME"] config_path = environ["XDG_CONFIG_HOME"]
else: elif "HOME" in environ:
config_path = environ["HOME"] + "/.config" config_path = environ["HOME"] + "/.config"
elif "APPDATA" in environ:
config_path = environ["APPDATA"]
else:
config_path = path.dirname(__file__)
parameters = {'home': config_path + '/cutecoin/', parameters = {'home': config_path + '/cutecoin/',
'data': config_path + '/cutecoin/' 'data'} 'data': config_path + '/cutecoin/' 'data'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment