/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Vincent Ladeuil
  • Date: 2009-09-19 16:14:10 UTC
  • mto: (4707.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4708.
  • Revision ID: v.ladeuil+lp@free.fr-20090919161410-lmlunl2q9kbzd3x0
Fix OSX and FreeBSD failures.

* bzrlib/tests/__init__.py:
(TestCaseWithMemoryTransport._make_test_root): Fixing the problem
at the root, if we usr the real path there, we catch 99% of the
consequences.

* bzrlib/tests/test_osutils.py:
(TestCanonicalRelPath.test_canonical_relpath_simple,
TestCanonicalRelPath.test_canonical_relpath_missing_tail): No need
to use realpath here anymore.

* bzrlib/tests/script.py:
(ScriptRunner.do_rm): OSX and BSD raises a different exception,
and windows too even if that will require real testing (but
osutils._delete_file_or_dir use the same trick for unlink so it's
a pretty safe bet).

* bzrlib/tests/blackbox/test_outside_wt.py:
(TestOutsideWT.test_cwd_log,
TestOutsideWT.test_diff_outside_tree): Watch for OSX trick.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env python
2
 
 
3
 
from info import *
4
 
 
5
 
if __name__ == '__main__':
6
 
    from distutils.core import setup
7
 
    version = bzr_plugin_version[:3]
8
 
    version_string = ".".join([str(x) for x in version])
9
 
 
10
 
    setup(name='bzr-git',
11
 
          description='Support for Git branches in Bazaar',
12
 
          keywords='plugin bzr git bazaar',
13
 
          version=version_string,
14
 
          url='http://bazaar-vcs.org/BzrForeignBranches/Git',
15
 
          license='GPL',
16
 
          maintainer='Jelmer Vernooij',
17
 
          maintainer_email='jelmer@samba.org',
18
 
          long_description="""
19
 
          This plugin adds limited support for checking out and viewing
20
 
          Git branches in Bazaar.
21
 
          """,
22
 
          package_dir={'bzrlib.plugins.git':'.'},
23
 
          packages=['bzrlib.plugins.git',
24
 
                    'bzrlib.plugins.git.tests'],
25
 
          scripts=['bzr-receive-pack', 'bzr-upload-pack'],
26
 
          )