Skip to content

Commit 8c982c1

Browse files
committed
couple fixes to setup
1 parent 273400f commit 8c982c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class build_py(_build_py):
1414
def run(self):
15-
init = path.join(self.build_lib, 'git_python', '__init__.py')
15+
init = path.join(self.build_lib, 'git', '__init__.py')
1616
if path.exists(init):
1717
os.unlink(init)
1818
_build_py.run(self)
@@ -22,13 +22,13 @@ def run(self):
2222
class sdist(_sdist):
2323
def make_release_tree (self, base_dir, files):
2424
_sdist.make_release_tree(self, base_dir, files)
25-
orig = path.join('lib', 'git_python', '__init__.py')
25+
orig = path.join('lib', 'git', '__init__.py')
2626
assert path.exists(orig)
2727
dest = path.join(base_dir, orig)
2828
if hasattr(os, 'link') and path.exists(dest):
2929
os.unlink(dest)
3030
self.copy_file(orig, dest)
31-
_stamp_version(dest)
31+
# _stamp_version(dest)
3232

3333
def _stamp_version(filename):
3434
found, out = False, []

0 commit comments

Comments
 (0)