Commit 52ddfdd0 by Owo Sugiana

Penyesuaian file konfigurasi

1 parent ea37ada0
env_base/bin/activate
\ No newline at end of file
......@@ -13,7 +13,7 @@ debug_routematch = false
debug_templates = true
default_locale_name = en
sqlalchemy.url = postgresql://user:password@server:port/db
sqlalchemy.url = postgresql://user:password@localhost:5432/db
pyramid.includes =
pyramid_tm
......@@ -27,7 +27,7 @@ session.type = ext:database
session.secret = s0s3cr3t
session.cookie_expires = true
session.key = WhatEver
session.url = postgresql://user:password@server:port/db
session.url = postgresql://user:password@localhost:5432/db
session.timeout = 3000
session.lock_dir = %(here)s/tmp
......@@ -52,9 +52,9 @@ mail.sender_name =
mail.username =
mail.host =
mail.port = 25
mail.password None SMTP password
mail.password =
mail.tls = False
mail.ssl=False
mail.ssl = False
mail.keyfile =
#SSL key file
mail.certfile =
......@@ -173,8 +173,8 @@ format = %(asctime)s %(levelname)-5.5s [%(name)s][%(threadName)s] %(message)s
[alembic_ziggurat]
script_location=ziggurat_foundations:migrations
sqlalchemy.url = postgresql://user:password@server:port/db
sqlalchemy.url = postgresql://user:password@localhost:5432/db
[alembic_base]
script_location=opensipkd.base:alembic
sqlalchemy.url = postgresql://user:password@server:port/db
sqlalchemy.url = postgresql://user:password@localhost:5432/db
import os
import sys
from setuptools import (
setup,
find_packages,
)
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
line = CHANGES.splitlines()[0]
version = line.split()[0]
requires = [
'pyramid',
'pyramid_tm',
'SQLAlchemy',
'transaction',
'zope.sqlalchemy==1.1',
'waitress',
'ziggurat-foundations',
'colander',
'deform >= 2.0a2',
'pyramid_chameleon',
'psycopg2-binary',
'alembic >= 0.3.4',
'pyramid_beaker',
'pytz',
'paste',
'webhelpers',
'bcrypt',
'pyramid_rpc',
'sqlalchemy-datatables',
'requests',
'z3c.rml',
'py3o.template',
'wheezy.captcha',
# 'pyBarcode',
'unoconv',
'google-api-python-client',
# 'pyramid_xmlrpc',
'pyramid_mailer', 'zope'
]
dev_requires = [
'pyramid_debugtoolbar',
'pytest',
]
setup(
name='opensipkd_base',
version=version,
description='Basis Aplikasi openSIPKD',
long_description=README + '\n\n' + CHANGES,
author='Agus Gustiana',
author_email='aa.gustiana@gmail.com',
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
keywords='web pyramid pylons',
# package=find_packages('src'),
# package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
extras_require={
'dev': dev_requires,
},
# test_suite="opensipkd.base.test",
entry_points="""\
[paste.app_factory]
main = opensipkd.base:main
[console_scripts]
initialize_opensipkd_db = opensipkd.base.scripts.initializedb:main
""",
)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!