Upped to version 0.1.6
This commit is contained in:
		| @@ -1,4 +1,6 @@ | ||||
| from .sanic import Sanic | ||||
| from .blueprints import Blueprint | ||||
|  | ||||
| __version__ = '0.1.6' | ||||
|  | ||||
| __all__ = ['Sanic', 'Blueprint'] | ||||
|   | ||||
							
								
								
									
										14
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								setup.py
									
									
									
									
									
								
							| @@ -1,11 +1,23 @@ | ||||
| """ | ||||
| Sanic | ||||
| """ | ||||
| import codecs | ||||
| import os | ||||
| import re | ||||
| from setuptools import setup | ||||
|  | ||||
|  | ||||
| with codecs.open(os.path.join(os.path.abspath(os.path.dirname( | ||||
|         __file__)), 'sanic', '__init__.py'), 'r', 'latin1') as fp: | ||||
|     try: | ||||
|         version = re.findall(r"^__version__ = '([^']+)'\r?$", | ||||
|                              fp.read(), re.M)[0] | ||||
|     except IndexError: | ||||
|         raise RuntimeError('Unable to determine version.') | ||||
|  | ||||
| setup( | ||||
|     name='Sanic', | ||||
|     version="0.1.5", | ||||
|     version=version, | ||||
|     url='http://github.com/channelcat/sanic/', | ||||
|     license='MIT', | ||||
|     author='Channel Cat', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Channel Cat
					Channel Cat