diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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'] } ) |