summaryrefslogtreecommitdiffstats
path: root/funcweb
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-07-06 18:13:20 +0300
committermakkalot <makkalot@gmail.com>2008-07-06 18:13:20 +0300
commit0d48a80b68280db11a7e4c9ad9347497ec2463dd (patch)
tree0520c8207f6086c1c62bcbccddd0d3afdf2c4c6f /funcweb
parent19769407bea2f67487672132decd9aaf030681c9 (diff)
downloadfunc-0d48a80b68280db11a7e4c9ad9347497ec2463dd.tar.gz
func-0d48a80b68280db11a7e4c9ad9347497ec2463dd.tar.xz
func-0d48a80b68280db11a7e4c9ad9347497ec2463dd.zip
minor changes in setup
Diffstat (limited to 'funcweb')
-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'])
],
)