|
a/pyforge/setup.py |
|
b/pyforge/setup.py |
|
... |
|
... |
4 |
except ImportError:
|
4 |
except ImportError:
|
5 |
from ez_setup import use_setuptools
|
5 |
from ez_setup import use_setuptools
|
6 |
use_setuptools()
|
6 |
use_setuptools()
|
7 |
from setuptools import setup, find_packages
|
7 |
from setuptools import setup, find_packages
|
8 |
|
8 |
|
9 |
from pyforge.version import __version__
|
|
|
10 |
|
|
|
11 |
setup(
|
9 |
setup(
|
12 |
name='pyforge',
|
10 |
name='pyforge',
|
13 |
version=__version__,
|
11 |
version='0',
|
14 |
description='',
|
12 |
description='',
|
15 |
author='',
|
13 |
author='',
|
16 |
author_email='',
|
14 |
author_email='',
|
17 |
#url='',
|
15 |
#url='',
|
18 |
install_requires=[
|
16 |
install_requires=[
|
19 |
"TurboGears2 >= 2.1a1",
|
|
|
20 |
"PasteScript",
|
|
|
21 |
"Babel >= 0.9.4",
|
|
|
22 |
"Lamson",
|
|
|
23 |
"Carrot",
|
|
|
24 |
"pymongo >= 1.5, < 1.6",
|
|
|
25 |
"pysolr",
|
|
|
26 |
"repoze.what-quickstart",
|
|
|
27 |
"sqlalchemy-migrate",
|
|
|
28 |
"Markdown >= 2.0.3",
|
|
|
29 |
"Pygments >= 1.1.1",
|
|
|
30 |
"PyYAML >= 3.09",
|
|
|
31 |
"python-openid >= 2.2.4",
|
|
|
32 |
"python-ldap == 2.3.9",
|
|
|
33 |
"python-dateutil >= 1.4.1",
|
|
|
34 |
"WebOb == 0.9.8",
|
|
|
35 |
"WebTest == 1.2",
|
|
|
36 |
"python-oembed >= 0.1.1",
|
|
|
37 |
"EasyWidgets >= 0.1.1",
|
|
|
38 |
"PIL >= 1.1.7",
|
|
|
39 |
"iso8601",
|
|
|
40 |
"sf.phpsession==0.1",
|
|
|
41 |
"chardet==1.0.1",
|
|
|
42 |
"feedparser>=4.1,<=4.2",
|
|
|
43 |
],
|
17 |
],
|
44 |
setup_requires=["PasteScript >= 1.7"],
|
|
|
45 |
paster_plugins=['PasteScript', 'Pylons', 'TurboGears2', 'tg.devtools', 'ForgeMail'],
|
|
|
46 |
packages=find_packages(exclude=['ez_setup']),
|
|
|
47 |
include_package_data=True,
|
|
|
48 |
test_suite='nose.collector',
|
|
|
49 |
tests_require=['WebTest >= 1.2', 'BeautifulSoup'],
|
|
|
50 |
package_data={'pyforge': ['i18n/*/LC_MESSAGES/*.mo',
|
|
|
51 |
'templates/*/*',
|
|
|
52 |
'public/*/*']},
|
|
|
53 |
message_extractors={'pyforge': [
|
|
|
54 |
('**.py', 'python', None),
|
|
|
55 |
('templates/**.mako', 'mako', None),
|
|
|
56 |
('templates/**.html', 'genshi', None),
|
|
|
57 |
('public/**', 'ignore', None)]},
|
|
|
58 |
|
|
|
59 |
entry_points="""
|
18 |
entry_points="""
|
60 |
[paste.app_factory]
|
19 |
[paste.app_factory]
|
61 |
main = pyforge.config.middleware:make_app
|
|
|
62 |
tool_test = pyforge.config.middleware:make_tool_test_app
|
|
|
63 |
|
20 |
|
64 |
[paste.app_install]
|
21 |
[paste.app_install]
|
65 |
main = pylons.util:PylonsInstaller
|
|
|
66 |
tool_test = pylons.util:PylonsInstaller
|
|
|
67 |
|
22 |
|
68 |
[paste.paster_create_template]
|
23 |
[paste.paster_create_template]
|
69 |
forgeapp=pyforge.pastetemplate:ForgeAppTemplate
|
|
|
70 |
|
24 |
|
71 |
[pyforge]
|
25 |
[allura]
|
72 |
profile = pyforge.ext.user_profile:UserProfileApp
|
|
|
73 |
admin = pyforge.ext.admin:AdminApp
|
|
|
74 |
search = pyforge.ext.search:SearchApp
|
|
|
75 |
home = pyforge.ext.project_home:ProjectHomeApp
|
|
|
76 |
|
26 |
|
77 |
[pyforge.auth]
|
27 |
[allura.auth]
|
78 |
local = pyforge.lib.plugin:LocalAuthenticationProvider
|
|
|
79 |
ldap = pyforge.lib.plugin:LdapAuthenticationProvider
|
|
|
80 |
|
28 |
|
81 |
[pyforge.project_registration]
|
29 |
[allura.project_registration]
|
82 |
local = pyforge.lib.plugin:LocalProjectRegistrationProvider
|
|
|
83 |
|
30 |
|
84 |
[flyway.migrations]
|
31 |
[flyway.migrations]
|
85 |
pyforge = pyforge.migrations
|
|
|
86 |
|
32 |
|
87 |
[flyway.test_migrations]
|
33 |
[flyway.test_migrations]
|
88 |
a = flyway.tests.migrations_a
|
|
|
89 |
b = flyway.tests.migrations_b
|
|
|
90 |
|
34 |
|
91 |
[paste.paster_command]
|
35 |
[paste.paster_command]
|
92 |
reactor_setup = pyforge.command:ReactorSetupCommand
|
|
|
93 |
reactor = pyforge.command:ReactorCommand
|
|
|
94 |
sendmsg = pyforge.command:SendMessageCommand
|
|
|
95 |
models = pyforge.command:ShowModelsCommand
|
|
|
96 |
reindex = pyforge.command:ReindexCommand
|
|
|
97 |
ensure_index = pyforge.command:EnsureIndexCommand
|
|
|
98 |
script = pyforge.command:ScriptCommand
|
|
|
99 |
flyway = flyway.command:MigrateCommand
|
|
|
100 |
|
36 |
|
101 |
[easy_widgets.resources]
|
37 |
[easy_widgets.resources]
|
102 |
ew_resources=pyforge.config.resources:register_ew_resources
|
|
|
103 |
|
38 |
|
104 |
""",
|
39 |
""",
|
105 |
)
|
40 |
)
|
106 |
|
41 |
|