/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
1
#!/usr/bin/env python
0.152.78 by Vincent Ladeuil
Prepare 1.0.0 release by being a better packager and bzr citizen.
2
# Copyright (C) 2008-2010 by Canonical Ltd
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 2 of the License, or
7
# (at your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful,
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
# GNU General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License
15
# along with this program; if not, write to the Free Software
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
0.152.78 by Vincent Ladeuil
Prepare 1.0.0 release by being a better packager and bzr citizen.
18
from info import *
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
19
0.152.78 by Vincent Ladeuil
Prepare 1.0.0 release by being a better packager and bzr citizen.
20
if __name__ == '__main__':
21
    from distutils.core import setup
22
    series = bzr_plugin_version[:2]
23
    series_string = ".".join([str(x) for x in series])
24
    version = bzr_plugin_version[:3]
25
    version_string = ".".join([str(x) for x in version])
26
    setup(name='bzr-upload',
27
          description='Incrementally uploads changes to a dumb server',
28
          keywords='plugin bzr upload dumb protocol',
29
          version=version_string,
30
          url='http://launchpad.net/bzr-upload/%s/%s/bzr-upload-%s.tar.gz' % (
31
            series_string, version_string, version_string),
32
          download_url='http://launchpad.net/bzr-upload',
33
          author='Vincent Ladeuil, Martin Albisetti',
34
          author_email='v.ladeuil+lp@free.fr',
35
          license='GPL',
36
          long_description="""\
37
Web sites are often hosted on servers where bzr can't be
38
installed.  In other cases, the web site must not give access to
39
its corresponding branch (for security reasons for example).
40
Finally, web hosting providers often provides only ftp access to
41
upload sites.  This plugin uploads only the relevant changes since
42
the last upload using ftp or sftp protocols.
43
""",
44
          package_dir={'bzrlib.plugins.upload':'.'},
45
          packages=['bzrlib.plugins.upload',
46
                    'bzrlib.plugins.upload.tests']
47
          )