summaryrefslogtreecommitdiffstats
path: root/glustolibs-io/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'glustolibs-io/setup.py')
-rw-r--r--glustolibs-io/setup.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/glustolibs-io/setup.py b/glustolibs-io/setup.py
index 183cc23..810ddc5 100644
--- a/glustolibs-io/setup.py
+++ b/glustolibs-io/setup.py
@@ -17,15 +17,11 @@
#
import os
from setuptools import setup, find_packages
+from distutils import dir_util
version = '0.1.1'
name = 'glustolibs-io'
-sharedfiles = []
-for root, dir, files in os.walk('shared_files'):
- for file in files:
- sharedfiles.append(os.path.join(root, file))
-
setup(
name=name,
version=version,
@@ -49,6 +45,6 @@ setup(
],
install_requires=['glusto'],
dependency_links=['http://github.com/loadtheaccumulator/glusto/tarball/master#egg=glusto'],
- namespace_packages = ['glustolibs'],
- data_files=[('/usr/share/glustolibs/io', sharedfiles)]
+ namespace_packages = ['glustolibs']
)
+dir_util.copy_tree('./shared_files', '/usr/share/glustolibs/io')