Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

creating the lantorrent home directories

  • Loading branch information...
commit 2baafc55029ed28dbcf51b2a4c1c088424bbc52f 1 parent ecc9233
@buzztroll buzztroll authored
Showing with 14 additions and 5 deletions.
  1. +7 −3 lantorrent/setup-vmm.py
  2. +7 −2 lantorrent/setup.py
View
10 lantorrent/setup-vmm.py
@@ -31,10 +31,9 @@
Fast multicast of large files (designed for VM images)
""",
license="Apache2",
- install_requires = ["simplejson <= 2.1, >= 1.9"],
+ install_requires = ["simplejson < 2.1, >= 1.9"],
include_package_data = True,
-# data_files = test_plans,
package_data = {},
classifiers=[
@@ -66,7 +65,12 @@
if dir:
ini_template = dir + "/" + ini_template
ini_template = os.path.abspath(ini_template)
-dst = os.path.abspath(lt_home + "/etc/lt.ini")
+dst_dir = os.path.abspath(lt_home + "/etc")
+try:
+ os.makedirs(dst_dir)
+except Exception, ex:
+ print "Warning | %s" % (str(ex))
+dst = os.path.abspath(dst_dir + "/lt.ini")
print ""
print "======================="
View
9 lantorrent/setup.py
@@ -34,7 +34,7 @@
Fast multicast of large files (designed for VM images)
""",
license="Apache2",
- install_requires = ["simplejson <= 2.1, >= 1.9", "sqlalchemy == 0.6"],
+ install_requires = ["simplejson < 2.1, >= 1.9", "sqlalchemy == 0.6"],
include_package_data = True,
# data_files = test_plans,
@@ -66,7 +66,12 @@
if dir:
ini_template = dir + "/" + ini_template
ini_template = os.path.abspath(ini_template)
-dst = os.path.abspath(lt_home + "/etc/lt.ini")
+dst_dir = os.path.abspath(lt_home + "/etc/")
+try:
+ os.makedirs(dst_dir)
+except Exception, ex:
+ print "Warning | %s" % (str(ex))
+dst = os.path.abspath(dst_dir + "/lt.ini")
print ""
print "======================="
Please sign in to comment.
Something went wrong with that request. Please try again.