Basic setup.py script for API
Refer to the API version via an import. (imported from commit ef28f4edc0d519b4c6a49ef414279685a3d38202)
This commit is contained in:
		
							parent
							
								
									d8f13837d9
								
							
						
					
					
						commit
						6a30a83e79
					
				
					 2 changed files with 28 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -32,6 +32,9 @@ import optparse
 | 
			
		|||
 | 
			
		||||
from ConfigParser import SafeConfigParser
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
__version__ = "0.1.0"
 | 
			
		||||
 | 
			
		||||
# Check that we have a recent enough version
 | 
			
		||||
# Older versions don't provide the 'json' attribute on responses.
 | 
			
		||||
assert(requests.__version__ >= '0.12.1')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue