Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix package installation (closes #9)

  • Loading branch information...
commit 2fec1ae97a64f9d0cc2ce35bd1d522fa714bef7a 1 parent c21901c
@afflux afflux authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 setup.py
View
5 setup.py
@@ -85,6 +85,7 @@ def install(self):
if os.path.isdir(self.build_dir):
for package in self.packages:
+ packagedir = os.path.join(*list(package.split('.')))
if package == 'gotr':
if os.path.isdir(self.gajim_dir):
outfiles += self.copy_tree(
@@ -92,8 +93,8 @@ def install(self):
self.gajim_plugin_dir)
else:
outfiles += self.copy_tree(
- os.path.join(self.build_dir, package),
- os.path.join(self.install_dir, package))
+ os.path.join(self.build_dir, packagedir),
+ os.path.join(self.install_dir, packagedir))
else:
self.warn("'%s' does not exist -- no Python modules to install" %
self.build_dir)
Please sign in to comment.
Something went wrong with that request. Please try again.