fix some version configuration

This commit is contained in:
David Rousselie
2011-10-09 11:17:52 +02:00
parent e75973eefc
commit 9c0edf274f
6 changed files with 7 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ if len(sys.argv) >= 2 and sys.argv[1] == "install" \
os.makedirs(config_dir)
shutil.copy("conf/jmc.conf", config_dir)
python_version = ".".join(platform.python_version_tuple()[:2])
runner_file_name = full_prefix + "/lib/python" + python_version + "/site-packages/jmc-" + jmc_version + "-py" + python_version + ".egg/jmc/runner.py"
runner_file_name = full_prefix + "/lib/python" + python_version + "/site-packages/jmc/runner.py"
runner_file = open(runner_file_name)
dest_runner_file_name = runner_file_name + ".tmp"
dest_runner_file = open(dest_runner_file_name, "w")