[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' | pytest_plugins = 'pytest_doctest', 'pytest_pytester', 'pytest_restdoc' | ||||||
| 
 | 
 | ||||||
|  | rsyncignore = ['c-extension/greenlet/build'] | ||||||
|  | 
 | ||||||
| import py | import py | ||||||
| class PylibTestPlugin: | class PylibTestPlugin: | ||||||
|     def pytest_addoption(self, parser): |     def pytest_addoption(self, parser): | ||||||
|  |  | ||||||
|  | @ -168,7 +168,11 @@ class Config(object): | ||||||
|         except KeyError: |         except KeyError: | ||||||
|             return None |             return None | ||||||
|         modpath = py.path.local(mod.__file__).dirpath() |         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):  |     def addoptions(self, groupname, *specs):  | ||||||
|         """ add a named group of options to the current testing session.  |         """ add a named group of options to the current testing session.  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue