Skip to content
Browse files

Fix #79. Don't require a privileged account to install the package.

  • Loading branch information...
1 parent 0cf14b4 commit 5527b5ffb9ba290cf9f00f37333dd09cfd1fddc3 @s0undt3ch s0undt3ch committed May 23, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 setup.py
View
6 setup.py
@@ -5,14 +5,14 @@
import os
from distutils.core import setup
from distutils.extension import Extension
-from distutils.sysconfig import get_python_lib
+from distutils.sysconfig import get_python_lib, PREFIX
NAME = 'salt'
VER = '0.8.7'
DESC = 'Portable, distrubuted, remote execution system'
mod_path = os.path.join(get_python_lib(), 'salt/modules/')
-doc_path = os.path.join('/usr/share/doc/', NAME + '-' + VER)
+doc_path = os.path.join(PREFIX, 'share/doc/', NAME + '-' + VER)
example_path = os.path.join(doc_path, 'examples')
template_path = os.path.join(example_path, 'templates')
@@ -51,7 +51,7 @@
'scripts/salt-cp',
'scripts/salt-call',
'scripts/salt'],
- data_files=[('/etc/salt',
+ data_files=[('etc/salt',
['conf/master',
'conf/minion',
]),

0 comments on commit 5527b5f

Please sign in to comment.
Something went wrong with that request. Please try again.