Merge pull request #3476 from avirlrma/master
change doc copyright year to range and auto update year
This commit is contained in:
		
						commit
						5edad01d4e
					
				
							
								
								
									
										1
									
								
								AUTHORS
								
								
								
								
							
							
						
						
									
										1
									
								
								AUTHORS
								
								
								
								
							|  | @ -22,6 +22,7 @@ Antony Lee | ||||||
| Armin Rigo | Armin Rigo | ||||||
| Aron Coyle | Aron Coyle | ||||||
| Aron Curzon | Aron Curzon | ||||||
|  | Aviral Verma | ||||||
| Aviv Palivoda | Aviv Palivoda | ||||||
| Barney Gale | Barney Gale | ||||||
| Ben Webb | Ben Webb | ||||||
|  |  | ||||||
|  | @ -0,0 +1 @@ | ||||||
|  | Change documentation copyright year to a range which auto-updates itself each time it is published. | ||||||
|  | @ -20,6 +20,7 @@ | ||||||
| 
 | 
 | ||||||
| import os | import os | ||||||
| import sys | import sys | ||||||
|  | import datetime | ||||||
| 
 | 
 | ||||||
| from _pytest import __version__ as version | from _pytest import __version__ as version | ||||||
| 
 | 
 | ||||||
|  | @ -57,7 +58,8 @@ master_doc = 'contents' | ||||||
| 
 | 
 | ||||||
| # General information about the project. | # General information about the project. | ||||||
| project = u'pytest' | project = u'pytest' | ||||||
| copyright = u'2015, holger krekel and pytest-dev team' | year = datetime.datetime.utcnow().year | ||||||
|  | copyright = u'2015–{} , holger krekel and pytest-dev team'.format(year) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue