summaryrefslogtreecommitdiffstats
path: root/funcweb/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'funcweb/setup.py')
-rw-r--r--funcweb/setup.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/funcweb/setup.py b/funcweb/setup.py
index 85b0b87..92ae048 100644
--- a/funcweb/setup.py
+++ b/funcweb/setup.py
@@ -16,6 +16,12 @@ if os.path.isdir('locales'):
#adding to the virtual part of the apache
etcpath = "/etc/httpd/conf.d"
+#having a manual part for funcweb may add more things there in the future
+self_etcpath = "/etc/funcweb"
+#the init path for starting and stoping the server !
+initpath = "/etc/init.d"
+
+#the setup part
setup(
name="funcweb",
version=version,
@@ -24,7 +30,9 @@ setup(
author_email=email,
url=url,
license=license,
-
+ scripts =[
+ "scripts/funcwebd"
+ ],
install_requires=[
"TurboGears >= 1.0.4.2",
],
@@ -68,7 +76,7 @@ setup(
entry_points = {
'console_scripts': [
'start-funcweb = funcweb.commands:start',
- ],
+ ],
'turbogears.identity.provider' : [
'pam = funcweb.identity.pamprovider:PAMIdentityProvider'
@@ -81,7 +89,8 @@ setup(
# Uncomment next line and create a default.cfg file in your project dir
# if you want to package a default configuration in your egg.
data_files = [
- ('config', ['prod.cfg']),
- (etcpath,['etc/funcweb.conf'])
+ (etcpath,['etc/funcweb.conf']),
+ (self_etcpath,['etc/prod.cfg']),
+ (initpath,['init-scripts/funcwebd'])
],
)