summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/setup.py b/setup.py
index 6c38f90..a1f5e0f 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ Author: Ed Bartosh <eduard.bartosh@intel.com>
Setup module
"""
-
+import os
from setuptools import setup
setup(name = "repa",
@@ -18,10 +18,12 @@ setup(name = "repa",
author_email = 'eduard.bartosh@intel.com',
packages = ['repa'],
namespace_packages = ['repa'],
- data_files = [('share/doc/packages/repa/', ['README']),],
+ data_files = [
+ ('share/doc/packages/repa/', ['README']),
+ (['/etc', 'etc'][bool(os.getenv('VIRTUAL_ENV'))], ['repa.conf'])],
entry_points = {
'console_scripts': ['repa = repa.main:main'],
- 'repa_commands': ['list = repa.list:List',
- 'group = repa.group:Group']
+ 'repa_commands': ['list = repa.list:List',
+ 'group = repa.group:Group']
}
)