[svn r63056] try to ignore build directory (which shouldn't be there at all) for rsyncing
--HG-- branch : trunk
This commit is contained in:
parent
d9242d2a75
commit
cfa0cf4cfe
|
@ -2,6 +2,8 @@ dist_rsync_roots = ['.'] # XXX
|
|||
|
||||
pytest_plugins = 'pytest_doctest', 'pytest_pytester', 'pytest_restdoc'
|
||||
|
||||
rsyncignore = ['c-extension/greenlet/build']
|
||||
|
||||
import py
|
||||
class PylibTestPlugin:
|
||||
def pytest_addoption(self, parser):
|
||||
|
|
|
@ -168,7 +168,11 @@ class Config(object):
|
|||
except KeyError:
|
||||
return None
|
||||
modpath = py.path.local(mod.__file__).dirpath()
|
||||
return [modpath.join(x, abs=True) for x in relroots]
|
||||
l = []
|
||||
for relroot in relroots:
|
||||
relroot = relroot.replace("/", py.path.local.sep)
|
||||
l.append(modpath.join(relroot, abs=True))
|
||||
return l
|
||||
|
||||
def addoptions(self, groupname, *specs):
|
||||
""" add a named group of options to the current testing session.
|
||||
|
|
Loading…
Reference in New Issue