Merge remote-tracking branch 'thom/tox'
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,6 +3,7 @@ build
|
|||||||
dist
|
dist
|
||||||
pygit2.so
|
pygit2.so
|
||||||
_pygit2.so
|
_pygit2.so
|
||||||
|
.tox/
|
||||||
test/*.pyc
|
test/*.pyc
|
||||||
test/__pycache__
|
test/__pycache__
|
||||||
pygit2/*.pyc
|
pygit2/*.pyc
|
||||||
|
3
setup.py
3
setup.py
@@ -109,7 +109,8 @@ class TestCommand(Command):
|
|||||||
|
|
||||||
class sdist_files_from_git(sdist):
|
class sdist_files_from_git(sdist):
|
||||||
def get_file_list(self):
|
def get_file_list(self):
|
||||||
popen = Popen(['git', 'ls-files'], stdout=PIPE, stderr=PIPE)
|
popen = Popen(['git', 'ls-files'], stdout=PIPE, stderr=PIPE,
|
||||||
|
universal_newlines=True)
|
||||||
stdoutdata, stderrdata = popen.communicate()
|
stdoutdata, stderrdata = popen.communicate()
|
||||||
if popen.returncode != 0:
|
if popen.returncode != 0:
|
||||||
print(stderrdata)
|
print(stderrdata)
|
||||||
|
Reference in New Issue
Block a user