Get python setup.py sdist to include all the files we need to distribute.
This commit is contained in:
parent
7e9dade9f9
commit
40edf93b5b
2 changed files with 219 additions and 2 deletions
|
@ -1,3 +1,23 @@
|
||||||
include fas2.sql
|
include fas2.sql
|
||||||
include README COPYING
|
include README COPYING TODO
|
||||||
include *.cfg
|
include *.cfg *.conf
|
||||||
|
include convert.py start-fas
|
||||||
|
include client/*.conf
|
||||||
|
include fas/config/*
|
||||||
|
include fas/static/*
|
||||||
|
include fas/static/css/*
|
||||||
|
include fas/static/images/*
|
||||||
|
include fas/static/images/balloons/*
|
||||||
|
include fas/static/js/*
|
||||||
|
include fas/templates/cla/*.html
|
||||||
|
include fas/templates/cla/*.txt
|
||||||
|
include fas/templates/group/*.html
|
||||||
|
include fas/templates/group/*.txt
|
||||||
|
include fas/templates/openid/*.html
|
||||||
|
include fas/templates/openid/*.txt
|
||||||
|
include fas/templates/user/email/*.html
|
||||||
|
include fas/templates/user/email/*.txt
|
||||||
|
include fas/templates/user/*.html
|
||||||
|
include fas/templates/user/*.txt
|
||||||
|
include fas/templates/*.html
|
||||||
|
include fas/templates/*.txt
|
||||||
|
|
197
fas/fas/config/app.cfg.in
Normal file
197
fas/fas/config/app.cfg.in
Normal file
|
@ -0,0 +1,197 @@
|
||||||
|
[global]
|
||||||
|
# The settings in this file should not vary depending on the deployment
|
||||||
|
# environment. dev.cfg and prod.cfg are the locations for
|
||||||
|
# the different deployment settings. Settings in this file will
|
||||||
|
# be overridden by settings in those other files.
|
||||||
|
|
||||||
|
# The commented out values below are the defaults
|
||||||
|
|
||||||
|
# Database values
|
||||||
|
sqlalchemy.convert_unicode=True
|
||||||
|
|
||||||
|
admingroup = 'accounts'
|
||||||
|
|
||||||
|
# VIEW
|
||||||
|
|
||||||
|
# which view (template engine) to use if one is not specified in the
|
||||||
|
# template name
|
||||||
|
# tg.defaultview = "kid"
|
||||||
|
tg.defaultview = "genshi"
|
||||||
|
|
||||||
|
# The following kid settings determine the settings used by the kid serializer.
|
||||||
|
|
||||||
|
# One of (html|html-strict|xhtml|xhtml-strict|xml|json)
|
||||||
|
# kid.outputformat="html"
|
||||||
|
genshi.outputformat = "xhtml"
|
||||||
|
|
||||||
|
# When @#%*( TG supports this....
|
||||||
|
#genshi.outputformat = "html"
|
||||||
|
#genshi.default_doctype = "html-strict"
|
||||||
|
|
||||||
|
# kid.encoding="utf-8"
|
||||||
|
genshi.encoding="utf-8"
|
||||||
|
|
||||||
|
# The sitetemplate is used for overall styling of a site that
|
||||||
|
# includes multiple TurboGears applications
|
||||||
|
# tg.sitetemplate="<packagename.templates.templatename>"
|
||||||
|
|
||||||
|
# Allow every exposed function to be called as json,
|
||||||
|
# tg.allow_json = False
|
||||||
|
|
||||||
|
# Suppress the inclusion of the shipped MochiKit version, which is rather outdated.
|
||||||
|
# Attention: setting this to True and listing 'turbogears.mochikit' in 'tg.include_widgets'
|
||||||
|
# is a contradiction. This option will overrule the default-inclusion to prevent version
|
||||||
|
# mismatch bugs.
|
||||||
|
# tg.mochikit_suppress = True
|
||||||
|
|
||||||
|
# List of Widgets to include on every page.
|
||||||
|
# for example ['turbogears.mochikit']
|
||||||
|
# tg.include_widgets = []
|
||||||
|
|
||||||
|
# Set to True if the scheduler should be started
|
||||||
|
# tg.scheduler = False
|
||||||
|
|
||||||
|
# Set to True to allow paginate decorator redirects when page number gets
|
||||||
|
# out of bound. Useful for getting the real page id in the url
|
||||||
|
# paginate.redirect_on_out_of_range = True
|
||||||
|
|
||||||
|
# Set to True to allow paginate decorator redirects when last page is requested.
|
||||||
|
# This is useful for getting the real last page id in the url
|
||||||
|
# paginate.redirect_on_last_page = True
|
||||||
|
|
||||||
|
# i18n
|
||||||
|
session_filter.on = True
|
||||||
|
i18n.run_template_filter = True
|
||||||
|
i18n.domain = 'fas'
|
||||||
|
i18n.locale_dir = 'po'
|
||||||
|
|
||||||
|
# VISIT TRACKING
|
||||||
|
# Each visit to your application will be assigned a unique visit ID tracked via
|
||||||
|
# a cookie sent to the visitor's browser.
|
||||||
|
# --------------
|
||||||
|
|
||||||
|
# Enable Visit tracking
|
||||||
|
visit.on=True
|
||||||
|
|
||||||
|
# Number of minutes a visit may be idle before it expires.
|
||||||
|
visit.timeout=20
|
||||||
|
|
||||||
|
# The name of the cookie to transmit to the visitor's browser.
|
||||||
|
# visit.cookie.name="tg-visit"
|
||||||
|
|
||||||
|
# Domain name to specify when setting the cookie (must begin with . according to
|
||||||
|
# RFC 2109). The default (None) should work for most cases and will default to
|
||||||
|
# the machine to which the request was made. NOTE: localhost is NEVER a valid
|
||||||
|
# value and will NOT WORK.
|
||||||
|
# visit.cookie.domain=None
|
||||||
|
|
||||||
|
# Specific path for the cookie
|
||||||
|
# visit.cookie.path="/"
|
||||||
|
|
||||||
|
# The name of the VisitManager plugin to use for visitor tracking.
|
||||||
|
visit.manager="sqlalchemy"
|
||||||
|
#visit.manager="sqlobject"
|
||||||
|
|
||||||
|
# Database class to use for visit tracking
|
||||||
|
visit.saprovider.model = "fas.model.Visit"
|
||||||
|
identity.saprovider.model.visit = "fas.model.VisitIdentity"
|
||||||
|
#visit.saprovider.model = "fedora.accounts.tgfas.visit_identity_table"
|
||||||
|
#visit.soprovider.model = "fas.model.Visit"
|
||||||
|
|
||||||
|
#identity.saprovider.model.visit="fedora.accounts.tgfas.VisitIdentity"
|
||||||
|
#identity.saprovider.model=
|
||||||
|
#sqlalchemy.dburi='sqlite://'
|
||||||
|
|
||||||
|
# IDENTITY
|
||||||
|
# General configuration of the TurboGears Identity management module
|
||||||
|
# --------
|
||||||
|
|
||||||
|
# Switch to turn on or off the Identity management module
|
||||||
|
identity.on=True
|
||||||
|
|
||||||
|
# [REQUIRED] URL to which CherryPy will internally redirect when an access
|
||||||
|
# control check fails. If Identity management is turned on, a value for this
|
||||||
|
# option must be specified.
|
||||||
|
identity.failure_url="/login"
|
||||||
|
|
||||||
|
identity.provider='safas3'
|
||||||
|
# identity.provider='sqlobject'
|
||||||
|
|
||||||
|
# The names of the fields on the login form containing the visitor's user ID
|
||||||
|
# and password. In addition, the submit button is specified simply so its
|
||||||
|
# existence may be stripped out prior to passing the form data to the target
|
||||||
|
# controller.
|
||||||
|
# identity.form.user_name="user_name"
|
||||||
|
# identity.form.password="password"
|
||||||
|
# identity.form.submit="login"
|
||||||
|
|
||||||
|
# What sources should the identity provider consider when determining the
|
||||||
|
# identity associated with a request? Comma separated list of identity sources.
|
||||||
|
# Valid sources: form, visit, http_auth
|
||||||
|
# identity.source="form,http_auth,visit"
|
||||||
|
|
||||||
|
# SqlAlchemyIdentityProvider
|
||||||
|
# Configuration options for the default IdentityProvider
|
||||||
|
# -------------------------
|
||||||
|
|
||||||
|
# The classes you wish to use for your Identity model. Remember to not use reserved
|
||||||
|
# SQL keywords for class names (at least unless you specify a different table
|
||||||
|
# name using sqlmeta).
|
||||||
|
identity.saprovider.model.user="fas.model.People"
|
||||||
|
identity.saprovider.model.group="fas.model.Groups"
|
||||||
|
#identity.saprovider.model.permission="fas.model.Visit"
|
||||||
|
|
||||||
|
# The password encryption algorithm used when comparing passwords against what's
|
||||||
|
# stored in the database. Valid values are 'md5' or 'sha1'. If you do not
|
||||||
|
# specify an encryption algorithm, passwords are expected to be clear text.
|
||||||
|
# The SqlAlchemyProvider *will* encrypt passwords supplied as part of your login
|
||||||
|
# form. If you set the password through the password property, like:
|
||||||
|
# my_user.password = 'secret'
|
||||||
|
# the password will be encrypted in the database, provided identity is up and
|
||||||
|
# running, or you have loaded the configuration specifying what encryption to
|
||||||
|
# use (in situations where identity may not yet be running, like tests).
|
||||||
|
|
||||||
|
# identity.saprovider.encryption_algorithm=None
|
||||||
|
|
||||||
|
accounts_mail = "accounts@fedoraproject.org"
|
||||||
|
#email_host = "fedoraproject.org"
|
||||||
|
email_host = "publictest10.fedoraproject.org"
|
||||||
|
|
||||||
|
gpgexec = "/usr/bin/gpg"
|
||||||
|
gpghome = "/srv/fedora-infrastructure/fas/gnupg"
|
||||||
|
gpg_fingerprint = "C199 1E25 D00A D200 2D2E 54D1 BF7F 1647 C54E 8410"
|
||||||
|
gpg_passphrase = "m00!s@ysth3c0w"
|
||||||
|
gpg_keyserver = "hkp://subkeys.pgp.net"
|
||||||
|
|
||||||
|
cla_sign_group = "cla_sign"
|
||||||
|
cla_click_group = "cla_click"
|
||||||
|
|
||||||
|
privileged_view_groups = "(^cla_.*)|(^fas-.*)"
|
||||||
|
username_blacklist = "(.*-members)|(.*-sponsors)|(.*-administrators)|(root)|(webmaster)"
|
||||||
|
|
||||||
|
openidstore = "/var/tmp/fas/openid"
|
||||||
|
|
||||||
|
openssl_digest = "md5"
|
||||||
|
openssl_expire = 31536000 # 60*60*24*365 = 1 year
|
||||||
|
openssl_ca_file = "/srv/fedora-infrastructure/fas/ssl/ca-Upload"
|
||||||
|
openssl_c = "US"
|
||||||
|
openssl_st = "North Carolina"
|
||||||
|
openssl_l = "Raleigh"
|
||||||
|
openssl_o = "Fedora Project"
|
||||||
|
openssl_ou = "Upload Files"
|
||||||
|
|
||||||
|
# compress the data sends to the web browser
|
||||||
|
# [/]
|
||||||
|
# gzip_filter.on = TrueNote: in the SVG XML, change the 'interviewee-name' text to be the name of whichever in
|
||||||
|
# gzip_filter.mime_types = ["application/x-javascript", "text/javascript", "text/html", "text/css", "text/plain"]
|
||||||
|
[/robots.txt]
|
||||||
|
static_filter.on = True
|
||||||
|
static_filter.dir = "@DATADIR@/static/robots.txt"
|
||||||
|
|
||||||
|
[/static]
|
||||||
|
static_filter.on = True
|
||||||
|
static_filter.dir = "@DATADIR@/static"
|
||||||
|
|
||||||
|
[/favicon.ico]
|
||||||
|
static_filter.on = True
|
||||||
|
static_filter.file = "@DATADIR@/static/images/favicon.ico"
|
Loading…
Add table
Add a link
Reference in a new issue