Rename package to dulwich, add setup.py.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 8 Dec 2008 22:22:54 +0000 (22:22 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 8 Dec 2008 22:22:54 +0000 (22:22 +0000)
71 files changed:
.bzrignore
dulwich/__init__.py [moved from git/__init__.py with 100% similarity]
dulwich/errors.py [moved from git/errors.py with 100% similarity]
dulwich/objects.py [moved from git/objects.py with 100% similarity]
dulwich/pack.py [moved from git/pack.py with 100% similarity]
dulwich/repository.py [moved from git/repository.py with 100% similarity]
dulwich/tests/__init__.py [moved from git/tests/__init__.py with 100% similarity]
dulwich/tests/data/blobs/6f670c0fb53f9463760b7295fbb814e965fb20c8 [moved from git/tests/data/blobs/6f670c0fb53f9463760b7295fbb814e965fb20c8 with 100% similarity]
dulwich/tests/data/blobs/954a536f7819d40e6f637f849ee187dd10066349 [moved from git/tests/data/blobs/954a536f7819d40e6f637f849ee187dd10066349 with 100% similarity]
dulwich/tests/data/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 [moved from git/tests/data/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 with 100% similarity]
dulwich/tests/data/commits/0d89f20333fbb1d2f3a94da77f4981373d8f4310 [moved from git/tests/data/commits/0d89f20333fbb1d2f3a94da77f4981373d8f4310 with 100% similarity]
dulwich/tests/data/commits/5dac377bdded4c9aeb8dff595f0faeebcc8498cc [moved from git/tests/data/commits/5dac377bdded4c9aeb8dff595f0faeebcc8498cc with 100% similarity]
dulwich/tests/data/commits/60dacdc733de308bb77bb76ce0fb0f9b44c9769e [moved from git/tests/data/commits/60dacdc733de308bb77bb76ce0fb0f9b44c9769e with 100% similarity]
dulwich/tests/data/packs/pack-bc63ddad95e7321ee734ea11a7a62d314e0d7481.idx [moved from git/tests/data/packs/pack-bc63ddad95e7321ee734ea11a7a62d314e0d7481.idx with 100% similarity]
dulwich/tests/data/packs/pack-bc63ddad95e7321ee734ea11a7a62d314e0d7481.pack [moved from git/tests/data/packs/pack-bc63ddad95e7321ee734ea11a7a62d314e0d7481.pack with 100% similarity]
dulwich/tests/data/repos/a/.git/HEAD [moved from git/tests/data/repos/a/.git/HEAD with 100% similarity]
dulwich/tests/data/repos/a/.git/index [moved from git/tests/data/repos/a/.git/index with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/2a/72d929692c41d8554c07f6301757ba18a65d91 [moved from git/tests/data/repos/a/.git/objects/2a/72d929692c41d8554c07f6301757ba18a65d91 with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/4e/f30bbfe26431a69c3820d3a683df54d688f2ec [moved from git/tests/data/repos/a/.git/objects/4e/f30bbfe26431a69c3820d3a683df54d688f2ec with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/4f/2e6529203aa6d44b5af6e3292c837ceda003f9 [moved from git/tests/data/repos/a/.git/objects/4f/2e6529203aa6d44b5af6e3292c837ceda003f9 with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/7d/9a07d797595ef11344549b8d08198e48c15364 [moved from git/tests/data/repos/a/.git/objects/7d/9a07d797595ef11344549b8d08198e48c15364 with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/a2/96d0bb611188cabb256919f36bc30117cca005 [moved from git/tests/data/repos/a/.git/objects/a2/96d0bb611188cabb256919f36bc30117cca005 with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/a9/0fa2d900a17e99b433217e988c4eb4a2e9a097 [moved from git/tests/data/repos/a/.git/objects/a9/0fa2d900a17e99b433217e988c4eb4a2e9a097 with 100% similarity]
dulwich/tests/data/repos/a/.git/objects/ff/d47d45845a8f6576491e1edb97e3fe6a850e7f [moved from git/tests/data/repos/a/.git/objects/ff/d47d45845a8f6576491e1edb97e3fe6a850e7f with 100% similarity]
dulwich/tests/data/repos/a/.git/refs/heads/master [moved from git/tests/data/repos/a/.git/refs/heads/master with 100% similarity]
dulwich/tests/data/repos/a/a [moved from git/tests/data/repos/a/a with 100% similarity]
dulwich/tests/data/repos/a/b [moved from git/tests/data/repos/a/b with 100% similarity]
dulwich/tests/data/repos/a/c [moved from git/tests/data/repos/a/c with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/HEAD [moved from git/tests/data/repos/ooo_merge/.git/HEAD with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/index [moved from git/tests/data/repos/ooo_merge/.git/index with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/29/69be3e8ee1c0222396a5611407e4769f14e54b [moved from git/tests/data/repos/ooo_merge/.git/objects/29/69be3e8ee1c0222396a5611407e4769f14e54b with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/38/74e9c60a6d149c44c928140f250d81e6381520 [moved from git/tests/data/repos/ooo_merge/.git/objects/38/74e9c60a6d149c44c928140f250d81e6381520 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/6f/670c0fb53f9463760b7295fbb814e965fb20c8 [moved from git/tests/data/repos/ooo_merge/.git/objects/6f/670c0fb53f9463760b7295fbb814e965fb20c8 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/70/c190eb48fa8bbb50ddc692a17b44cb781af7f6 [moved from git/tests/data/repos/ooo_merge/.git/objects/70/c190eb48fa8bbb50ddc692a17b44cb781af7f6 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/76/01d7f6231db6a57f7bbb79ee52e4d462fd44d1 [moved from git/tests/data/repos/ooo_merge/.git/objects/76/01d7f6231db6a57f7bbb79ee52e4d462fd44d1 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/90/182552c4a85a45ec2a835cadc3451bebdfe870 [moved from git/tests/data/repos/ooo_merge/.git/objects/90/182552c4a85a45ec2a835cadc3451bebdfe870 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/95/4a536f7819d40e6f637f849ee187dd10066349 [moved from git/tests/data/repos/ooo_merge/.git/objects/95/4a536f7819d40e6f637f849ee187dd10066349 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/b2/a2766a2879c209ab1176e7e778b81ae422eeaa [moved from git/tests/data/repos/ooo_merge/.git/objects/b2/a2766a2879c209ab1176e7e778b81ae422eeaa with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/f5/07291b64138b875c28e03469025b1ea20bc614 [moved from git/tests/data/repos/ooo_merge/.git/objects/f5/07291b64138b875c28e03469025b1ea20bc614 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/f9/e39b120c68182a4ba35349f832d0e4e61f485c [moved from git/tests/data/repos/ooo_merge/.git/objects/f9/e39b120c68182a4ba35349f832d0e4e61f485c with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/objects/fb/5b0425c7ce46959bec94d54b9a157645e114f5 [moved from git/tests/data/repos/ooo_merge/.git/objects/fb/5b0425c7ce46959bec94d54b9a157645e114f5 with 100% similarity]
dulwich/tests/data/repos/ooo_merge/.git/refs/heads/master [moved from git/tests/data/repos/ooo_merge/.git/refs/heads/master with 100% similarity]
dulwich/tests/data/repos/ooo_merge/a [moved from git/tests/data/repos/ooo_merge/a with 100% similarity]
dulwich/tests/data/repos/ooo_merge/b [moved from git/tests/data/repos/ooo_merge/b with 100% similarity]
dulwich/tests/data/repos/ooo_merge/c [moved from git/tests/data/repos/ooo_merge/c with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/HEAD [moved from git/tests/data/repos/simple_merge/.git/HEAD with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/index [moved from git/tests/data/repos/simple_merge/.git/index with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/0d/89f20333fbb1d2f3a94da77f4981373d8f4310 [moved from git/tests/data/repos/simple_merge/.git/objects/0d/89f20333fbb1d2f3a94da77f4981373d8f4310 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/1b/6318f651a534b38f9c7aedeebbd56c1e896853 [moved from git/tests/data/repos/simple_merge/.git/objects/1b/6318f651a534b38f9c7aedeebbd56c1e896853 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/29/69be3e8ee1c0222396a5611407e4769f14e54b [moved from git/tests/data/repos/simple_merge/.git/objects/29/69be3e8ee1c0222396a5611407e4769f14e54b with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/4c/ffe90e0a41ad3f5190079d7c8f036bde29cbe6 [moved from git/tests/data/repos/simple_merge/.git/objects/4c/ffe90e0a41ad3f5190079d7c8f036bde29cbe6 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/5d/ac377bdded4c9aeb8dff595f0faeebcc8498cc [moved from git/tests/data/repos/simple_merge/.git/objects/5d/ac377bdded4c9aeb8dff595f0faeebcc8498cc with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/60/dacdc733de308bb77bb76ce0fb0f9b44c9769e [moved from git/tests/data/repos/simple_merge/.git/objects/60/dacdc733de308bb77bb76ce0fb0f9b44c9769e with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/6f/670c0fb53f9463760b7295fbb814e965fb20c8 [moved from git/tests/data/repos/simple_merge/.git/objects/6f/670c0fb53f9463760b7295fbb814e965fb20c8 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/70/c190eb48fa8bbb50ddc692a17b44cb781af7f6 [moved from git/tests/data/repos/simple_merge/.git/objects/70/c190eb48fa8bbb50ddc692a17b44cb781af7f6 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/90/182552c4a85a45ec2a835cadc3451bebdfe870 [moved from git/tests/data/repos/simple_merge/.git/objects/90/182552c4a85a45ec2a835cadc3451bebdfe870 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/95/4a536f7819d40e6f637f849ee187dd10066349 [moved from git/tests/data/repos/simple_merge/.git/objects/95/4a536f7819d40e6f637f849ee187dd10066349 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/ab/64bbdcc51b170d21588e5c5d391ee5c0c96dfd [moved from git/tests/data/repos/simple_merge/.git/objects/ab/64bbdcc51b170d21588e5c5d391ee5c0c96dfd with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/d4/bdad6549dfedf25d3b89d21f506aff575b28a7 [moved from git/tests/data/repos/simple_merge/.git/objects/d4/bdad6549dfedf25d3b89d21f506aff575b28a7 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/d8/0c186a03f423a81b39df39dc87fd269736ca86 [moved from git/tests/data/repos/simple_merge/.git/objects/d8/0c186a03f423a81b39df39dc87fd269736ca86 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 [moved from git/tests/data/repos/simple_merge/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 with 100% similarity]
dulwich/tests/data/repos/simple_merge/.git/refs/heads/master [moved from git/tests/data/repos/simple_merge/.git/refs/heads/master with 100% similarity]
dulwich/tests/data/repos/simple_merge/a [moved from git/tests/data/repos/simple_merge/a with 100% similarity]
dulwich/tests/data/repos/simple_merge/b [moved from git/tests/data/repos/simple_merge/b with 100% similarity]
dulwich/tests/data/repos/simple_merge/d [moved from git/tests/data/repos/simple_merge/d with 100% similarity]
dulwich/tests/data/repos/simple_merge/e [moved from git/tests/data/repos/simple_merge/e with 100% similarity]
dulwich/tests/data/trees/70c190eb48fa8bbb50ddc692a17b44cb781af7f6 [moved from git/tests/data/trees/70c190eb48fa8bbb50ddc692a17b44cb781af7f6 with 100% similarity]
dulwich/tests/test_objects.py [moved from git/tests/test_objects.py with 99% similarity]
dulwich/tests/test_pack.py [moved from git/tests/test_pack.py with 98% similarity]
dulwich/tests/test_repository.py [moved from git/tests/test_repository.py with 98% similarity]
setup.py [new file with mode: 0755]

index 4c1b0bae06196fd6f91d64fb944cdbecbf7f7bf1..2b48f0483ee33466ad055c2c6aac7b9a4f6d3c7d 100644 (file)
@@ -1 +1,2 @@
 _trial_temp
+build
similarity index 100%
rename from git/__init__.py
rename to dulwich/__init__.py
similarity index 100%
rename from git/errors.py
rename to dulwich/errors.py
similarity index 100%
rename from git/objects.py
rename to dulwich/objects.py
similarity index 100%
rename from git/pack.py
rename to dulwich/pack.py
similarity index 100%
rename from git/repository.py
rename to dulwich/repository.py
similarity index 99%
rename from git/tests/test_objects.py
rename to dulwich/tests/test_objects.py
index a8a0e428c1d4d61a43fefa62b8640e095ba5742c..6a884b5f07559ac22126f1ce43fc933e1268ce20 100644 (file)
@@ -19,7 +19,7 @@
 import os
 import unittest
 
-from git.objects import (Blob,
+from dulwich.objects import (Blob,
                          Tree,
                          Commit,
                          )
similarity index 98%
rename from git/tests/test_pack.py
rename to dulwich/tests/test_pack.py
index e62a96e1e6f11a1719f80afa65e33300d2971de9..14ea33b0e34b6be9a4a7c2f918c8e5d269c78ef9 100644 (file)
@@ -19,7 +19,7 @@
 import os
 import unittest
 
-from git.pack import (PackIndex,
+from dulwich.pack import (PackIndex,
                       PackData,
                       )
 
similarity index 98%
rename from git/tests/test_repository.py
rename to dulwich/tests/test_repository.py
index 53e834ad31a619dfc4d7fc54114d3542cc0c76d6..1c865f720bbccf568b59fcb2aa812cb83bafc502 100644 (file)
@@ -19,8 +19,8 @@
 import os
 import unittest
 
-from git import errors
-from git.repository import Repository
+from dulwich import errors
+from dulwich.repository import Repository
 
 missing_sha = 'b91fa4d900g17e99b433218e988c4eb4a3e9a097'
 
diff --git a/setup.py b/setup.py
new file mode 100755 (executable)
index 0000000..7f84639
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,22 @@
+#!/usr/bin/python
+# Setup file for bzr-git
+# Copyright (C) 2008 Jelmer Vernooij <jelmer@samba.org>
+
+from distutils.core import setup
+
+setup(name='dulwich',
+      description='Pure-Python Git Library',
+      keywords='git',
+      version='0.0.1',
+      url='http://launchpad.net/dulwich',
+      download_url='http://launchpad.net/dulwich',
+      license='GPL',
+      author='Jelmer Vernooij',
+      author_email='jelmer@samba.org',
+      long_description="""
+      Simple Pure-Python implementation of the Git file formats and 
+      protocols. Dulwich is the place where Mr. and Mrs. Git live 
+      in one of the Monty Python sketches.
+      """,
+      packages=['dulwich', 'dulwich.tests'],
+      )