| 
									
										
										
										
											2018-02-07 22:56:14 +08:00
										 |  |  | #!/usr/bin/env python | 
					
						
							| 
									
										
										
										
											2018-02-09 02:57:40 +08:00
										 |  |  | # -*- coding: utf-8 -*- | 
					
						
							| 
									
										
										
										
											2018-02-07 22:56:14 +08:00
										 |  |  | import io | 
					
						
							| 
									
										
										
										
											2015-02-07 01:06:16 +08:00
										 |  |  | import re | 
					
						
							| 
									
										
										
										
											2018-04-27 02:57:21 +08:00
										 |  |  | from collections import OrderedDict | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-02-07 01:06:16 +08:00
										 |  |  | from setuptools import setup | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  | with io.open("README.rst", "rt", encoding="utf8") as f: | 
					
						
							| 
									
										
										
										
											2018-02-07 22:56:14 +08:00
										 |  |  |     readme = f.read() | 
					
						
							| 
									
										
										
										
											2015-02-07 01:06:16 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  | with io.open("flask/__init__.py", "rt", encoding="utf8") as f: | 
					
						
							|  |  |  |     version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1) | 
					
						
							| 
									
										
										
										
											2010-08-01 15:04:09 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-04-06 19:23:18 +08:00
										 |  |  | setup( | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     name="Flask", | 
					
						
							| 
									
										
										
										
											2015-02-07 01:06:16 +08:00
										 |  |  |     version=version, | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     url="https://www.palletsprojects.com/p/flask/", | 
					
						
							|  |  |  |     project_urls=OrderedDict( | 
					
						
							|  |  |  |         ( | 
					
						
							|  |  |  |             ("Documentation", "http://flask.pocoo.org/docs/"), | 
					
						
							|  |  |  |             ("Code", "https://github.com/pallets/flask"), | 
					
						
							|  |  |  |             ("Issue tracker", "https://github.com/pallets/flask/issues"), | 
					
						
							|  |  |  |         ) | 
					
						
							|  |  |  |     ), | 
					
						
							|  |  |  |     license="BSD", | 
					
						
							|  |  |  |     author="Armin Ronacher", | 
					
						
							|  |  |  |     author_email="armin.ronacher@active-4.com", | 
					
						
							|  |  |  |     maintainer="Pallets team", | 
					
						
							|  |  |  |     maintainer_email="contact@palletsprojects.com", | 
					
						
							|  |  |  |     description="A simple framework for building complex web applications.", | 
					
						
							| 
									
										
										
										
											2018-02-07 22:56:14 +08:00
										 |  |  |     long_description=readme, | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     packages=["flask", "flask.json"], | 
					
						
							| 
									
										
										
										
											2011-09-22 20:08:03 +08:00
										 |  |  |     include_package_data=True, | 
					
						
							| 
									
										
										
										
											2010-04-06 19:23:18 +08:00
										 |  |  |     zip_safe=False, | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     platforms="any", | 
					
						
							|  |  |  |     python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*", | 
					
						
							| 
									
										
										
										
											2010-04-11 08:42:13 +08:00
										 |  |  |     install_requires=[ | 
					
						
							| 
									
										
										
										
											2019-05-07 02:59:43 +08:00
										 |  |  |         "Werkzeug>=0.15", | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |         "Jinja2>=2.10.1", | 
					
						
							|  |  |  |         "itsdangerous>=0.24", | 
					
						
							|  |  |  |         "click>=5.1", | 
					
						
							| 
									
										
										
										
											2010-04-16 20:24:12 +08:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  |     extras_require={ | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |         "dotenv": ["python-dotenv"], | 
					
						
							|  |  |  |         "dev": [ | 
					
						
							|  |  |  |             "pytest>=3", | 
					
						
							|  |  |  |             "coverage", | 
					
						
							|  |  |  |             "tox", | 
					
						
							|  |  |  |             "sphinx", | 
					
						
							|  |  |  |             "pallets-sphinx-themes", | 
					
						
							|  |  |  |             "sphinxcontrib-log-cabinet", | 
					
						
							| 
									
										
										
										
											2019-05-23 22:51:38 +08:00
										 |  |  |             "pre-commit", | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  |         ], | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |         "docs": ["sphinx", "pallets-sphinx-themes", "sphinxcontrib-log-cabinet"], | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  |     }, | 
					
						
							| 
									
										
										
										
											2010-04-16 20:24:12 +08:00
										 |  |  |     classifiers=[ | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |         "Development Status :: 5 - Production/Stable", | 
					
						
							|  |  |  |         "Environment :: Web Environment", | 
					
						
							|  |  |  |         "Framework :: Flask", | 
					
						
							|  |  |  |         "Intended Audience :: Developers", | 
					
						
							|  |  |  |         "License :: OSI Approved :: BSD License", | 
					
						
							|  |  |  |         "Operating System :: OS Independent", | 
					
						
							|  |  |  |         "Programming Language :: Python", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 2", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 2.7", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3.4", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3.5", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3.6", | 
					
						
							|  |  |  |         "Programming Language :: Python :: 3.7", | 
					
						
							|  |  |  |         "Topic :: Internet :: WWW/HTTP :: Dynamic Content", | 
					
						
							|  |  |  |         "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", | 
					
						
							|  |  |  |         "Topic :: Software Development :: Libraries :: Application Frameworks", | 
					
						
							|  |  |  |         "Topic :: Software Development :: Libraries :: Python Modules", | 
					
						
							| 
									
										
										
										
											2010-05-31 23:53:10 +08:00
										 |  |  |     ], | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     entry_points={"console_scripts": ["flask = flask.cli:main"]}, | 
					
						
							| 
									
										
										
										
											2010-04-06 19:23:18 +08:00
										 |  |  | ) |