bzr branch
http://gegoxaren.bato24.eu/bzr/loggerhead/trunk
498.3.1
by Jelmer Vernooij
Use python3 by default. |
1 |
#!/usr/bin/env python3
|
181.1.6
by Martin Albisetti
* Removed unused file |
2 |
#
|
3 |
# Copyright (C) 2008 Canonical Ltd.
|
|
4 |
# (Authored by Martin Albisetti <argentina@gmail.com>)
|
|
183.2.1
by John Arbash Meinel
Add Copyright information to most files. |
5 |
# This program is free software; you can redistribute it and/or modify
|
6 |
# it under the terms of the GNU General Public License as published by
|
|
7 |
# the Free Software Foundation; either version 2 of the License, or
|
|
8 |
# (at your option) any later version.
|
|
9 |
#
|
|
10 |
# This program is distributed in the hope that it will be useful,
|
|
11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 |
# GNU General Public License for more details.
|
|
14 |
#
|
|
15 |
# You should have received a copy of the GNU General Public License
|
|
16 |
# along with this program; if not, write to the Free Software
|
|
17 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
181.1.9
by Michael Hudson
some tweaks |
18 |
|
181.1.2
by Martin Albisetti
Removing left-over cruft from setup, and converting it to distutils |
19 |
"""Loggerhead is a web viewer for projects in bazaar"""
|
20 |
||
491.2.29
by Jelmer Vernooij
Use setuptools. |
21 |
from setuptools import setup |
389.2.1
by Matt Nordhoff
Some random PEP 8 and otehr stylistic changes. |
22 |
|
181.1.5
by Martin Albisetti
Move version to __init__ |
23 |
import loggerhead |
181.1.8
by Martin Albisetti
* Removed unused imports |
24 |
|
58
by Robey Pointer
add setup.py info so an sdist tarball can be made |
25 |
|
495
by Colin Watson
Add setup metadata for long description. |
26 |
with open("README.rst") as readme: |
27 |
long_description = readme.read() |
|
28 |
||
29 |
||
1
by Robey Pointer
initial checkin |
30 |
setup( |
519.1.5
by Jelmer Vernooij
Require older dulwich when using Python 3.5. |
31 |
name="loggerhead", |
32 |
version=loggerhead.__version__, |
|
33 |
description="Loggerhead is a web viewer for projects in bazaar", |
|
495
by Colin Watson
Add setup metadata for long description. |
34 |
long_description=long_description, |
35 |
long_description_content_type="text/x-rst", |
|
519.1.5
by Jelmer Vernooij
Require older dulwich when using Python 3.5. |
36 |
license="GNU GPL v2 or later", |
37 |
maintainer="Michael Hudson", |
|
38 |
maintainer_email="michael.hudson@canonical.com", |
|
39 |
scripts=[ |
|
491.2.45
by Jelmer Vernooij
Rename serve-branches to loggerhead-serve. |
40 |
"loggerhead-serve", |
464.1.1
by Robert Collins
Fix conflicts. |
41 |
],
|
519.1.5
by Jelmer Vernooij
Require older dulwich when using Python 3.5. |
42 |
packages=["loggerhead", |
43 |
"loggerhead/apps", |
|
44 |
"loggerhead/controllers", |
|
45 |
"loggerhead/middleware", |
|
46 |
"loggerhead/templates", |
|
47 |
"breezy.plugins.loggerhead"], |
|
48 |
package_dir={'breezy.plugins.loggerhead': '.'}, |
|
49 |
package_data={"loggerhead": ["templates/*.pt", |
|
50 |
"static/css/*.css", |
|
51 |
"static/javascript/*.js", |
|
52 |
"static/images/*"]}, |
|
53 |
data_files=[ |
|
491.2.45
by Jelmer Vernooij
Rename serve-branches to loggerhead-serve. |
54 |
('share/man/man1', ['loggerhead-serve.1']), |
468.1.1
by Jelmer Vernooij
Stop trying to install loggerhead.conf.example from setup.py after it has been removed. |
55 |
('share/doc/loggerhead', ['apache-loggerhead.conf', |
467.3.1
by Toshio Kuratomi
Include new files in the sdist and install |
56 |
'loggerheadd', |
491.2.19
by Jelmer Vernooij
s/bazaar.conf/breezy.conf. |
57 |
'breezy.conf']), |
181.1.9
by Michael Hudson
some tweaks |
58 |
],
|
519.1.5
by Jelmer Vernooij
Require older dulwich when using Python 3.5. |
59 |
install_requires=[ |
60 |
'paste', |
|
61 |
'bleach', |
|
62 |
'breezy>=3.1', |
|
63 |
],
|
|
491.2.40
by Jelmer Vernooij
Fix some more tests on Python 3. |
64 |
testsuite='loggerhead.tests.test_suite', |
1
by Robey Pointer
initial checkin |
65 |
)
|