[60ada4]: / Allura / setup.py  Maximize  Restore  History

Download this file

161 lines (138 with data), 6.6 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from setuptools import setup, find_packages
exec(open('allura/version.py').read()) # noqa: S102
PROJECT_DESCRIPTION = '''
Allura is an open source implementation of a software "forge", a web site
that manages source code repositories, bug reports, discussions, mailing
lists, wiki pages, blogs and more for any number of individual projects.
'''
setup(
name='Allura',
version=__version__, # noqa: F821
description='Base distribution of the Allura development platform',
long_description=PROJECT_DESCRIPTION,
author='Allura Team',
url='https://allura.apache.org/',
keywords='allura forge turbogears jinja2 mongodb',
license='Apache License, http://www.apache.org/licenses/LICENSE-2.0',
platforms=[
'Linux',
'MacOS X',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: TurboGears',
'Intended Audience :: Developers',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'License :: OSI Approved :: Apache Software License',
],
install_requires=[
],
paster_plugins=['PasteScript', 'TurboGears2', 'Ming'],
packages=find_packages(exclude=['ez_setup']),
include_package_data=True,
package_data={'allura': ['templates/**.html',
'templates/**.py',
'templates/**.xml',
'templates/**.txt',
'public/*/*/*/*/*',
]},
message_extractors={'allura': [
('**.py', 'python', None),
('templates/**.html', 'jinja2', None),
('public/**', 'ignore', None)]},
# These entry points define what tools and plugins are available for Allura.
# Other packages (the Forge* directories) or 3rd-party can add more too.
# development.ini is used for many cases to specify which to actually use.
entry_points="""
[paste.app_factory]
main = allura.config.middleware:make_app
[paste.app_install]
# used from SetupCommand, this will call our setup_app()
main = paste.script.appinstall:Installer
[allura]
profile = allura.ext.user_profile:UserProfileApp
admin = allura.ext.admin:AdminApp
search = allura.ext.search:SearchApp
home = allura.ext.project_home:ProjectHomeApp
[allura.auth]
local = allura.lib.plugin:LocalAuthenticationProvider
ldap = allura.lib.plugin:LdapAuthenticationProvider
[allura.user_prefs]
local = allura.lib.plugin:LocalUserPreferencesProvider
ldap = allura.lib.plugin:LdapUserPreferencesProvider
[allura.project_registration]
local = allura.lib.plugin:LocalProjectRegistrationProvider
[allura.theme]
allura = allura.lib.plugin:ThemeProvider
responsive = allura.lib.plugin:ResponsiveTheme
[allura.theme.override]
responsive = allura.templates_responsive.responsive_overrides:ResponsiveOverrides
[allura.spam]
akismet = allura.lib.spam.akismetfilter:AkismetSpamFilter
stopforumspam = allura.lib.spam.stopforumspamfilter:StopForumSpamSpamFilter
[allura.phone]
nexmo = allura.lib.phone.nexmo:NexmoPhoneService
[allura.site_admin]
stats = allura.controllers.site_admin:StatsSiteAdminExtension
troves = allura.controllers.trovecategories:TroveCategorySiteAdminExtension
[allura.user_profile.sections]
personal-data = allura.ext.user_profile.user_main:PersonalDataSection
projects = allura.ext.user_profile.user_main:ProjectsSection
skills = allura.ext.user_profile.user_main:SkillsSection
tools = allura.ext.user_profile.user_main:ToolsSection
social = allura.ext.user_profile.user_main:SocialSection
[allura.personal_dashboard.sections]
projects = allura.ext.personal_dashboard.dashboard_main:ProjectsSection
tickets = allura.ext.personal_dashboard.dashboard_main:TicketsSection
merge_requests = allura.ext.personal_dashboard.dashboard_main:MergeRequestsSection
activity = allura.ext.personal_dashboard.dashboard_main:ActivitySection
[allura.webhooks]
repo-push = allura.webhooks:RepoPushWebhookSender
[allura.multifactor.totp]
mongodb = allura.lib.multifactor:MongodbTotpService
filesystem-googleauth = allura.lib.multifactor:GoogleAuthenticatorPamFilesystemTotpService
[allura.multifactor.recovery_code]
mongodb = allura.lib.multifactor:MongodbRecoveryCodeService
filesystem-googleauth = allura.lib.multifactor:GoogleAuthenticatorPamFilesystemRecoveryCodeService
[paste.paster_command]
taskd = allura.command.taskd:TaskdCommand
taskd_cleanup = allura.command.taskd_cleanup:TaskdCleanupCommand
task = allura.command.taskd:TaskCommand
models = allura.command:ShowModelsCommand
reindex = allura.command:ReindexCommand
ensure_index = allura.command:EnsureIndexCommand
script = allura.command:ScriptCommand
set-tool-access = allura.command:SetToolAccessCommand
smtp_server=allura.command:SMTPServerCommand
create-neighborhood = allura.command:CreateNeighborhoodCommand
update-neighborhood-home-tool = allura.command:UpdateNeighborhoodCommand
create-trove-categories = allura.command:CreateTroveCategoriesCommand
set-neighborhood-features = allura.command:SetNeighborhoodFeaturesCommand
reclone-repo = allura.command.reclone_repo:RecloneRepoCommand
[easy_widgets.resources]
ew_resources=allura.config.resources:register_ew_resources
[easy_widgets.engines]
jinja = allura.config.app_cfg:JinjaEngine
[activitystream]
storage = activitystream.storage.mingstorage:MingStorage
director = allura.model.timeline:Director
aggregator = allura.model.timeline:Aggregator
""",
)