| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-01 23:00:25 +08:00
										 |  |  | from setuptools import find_packages | 
					
						
							| 
									
										
										
										
											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-06-01 23:00:25 +08:00
										 |  |  | with io.open("src/flask/__init__.py", "rt", encoding="utf8") as f: | 
					
						
							| 
									
										
										
										
											2019-06-24 07:56:42 +08:00
										 |  |  |     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-06-23 04:10:50 +08:00
										 |  |  |     url="https://palletsprojects.com/p/flask/", | 
					
						
							|  |  |  |     project_urls={ | 
					
						
							| 
									
										
										
										
											2019-07-09 01:55:25 +08:00
										 |  |  |         "Documentation": "https://flask.palletsprojects.com/", | 
					
						
							| 
									
										
										
										
											2019-06-23 04:10:50 +08:00
										 |  |  |         "Code": "https://github.com/pallets/flask", | 
					
						
							|  |  |  |         "Issue tracker": "https://github.com/pallets/flask/issues", | 
					
						
							|  |  |  |     }, | 
					
						
							|  |  |  |     license="BSD-3-Clause", | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     author="Armin Ronacher", | 
					
						
							|  |  |  |     author_email="armin.ronacher@active-4.com", | 
					
						
							| 
									
										
										
										
											2019-06-23 04:10:50 +08:00
										 |  |  |     maintainer="Pallets", | 
					
						
							| 
									
										
										
										
											2019-05-07 03:39:41 +08:00
										 |  |  |     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, | 
					
						
							| 
									
										
										
										
											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", | 
					
						
							|  |  |  |         "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-06-24 07:56:42 +08:00
										 |  |  |     packages=find_packages("src"), | 
					
						
							|  |  |  |     package_dir={"": "src"}, | 
					
						
							| 
									
										
										
										
											2011-09-22 20:08:03 +08:00
										 |  |  |     include_package_data=True, | 
					
						
							| 
									
										
										
										
											2020-04-04 08:23:21 +08:00
										 |  |  |     python_requires=">=3.6", | 
					
						
							| 
									
										
										
										
											2010-04-11 08:42:13 +08:00
										 |  |  |     install_requires=[ | 
					
						
							| 
									
										
										
										
											2019-06-24 07:56:42 +08:00
										 |  |  |         "Werkzeug>=0.15", | 
					
						
							|  |  |  |         "Jinja2>=2.10.1", | 
					
						
							| 
									
										
										
										
											2019-06-23 04:10:50 +08:00
										 |  |  |         "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-06-23 04:10:50 +08:00
										 |  |  |         "dotenv": ["python-dotenv"], | 
					
						
							|  |  |  |         "dev": [ | 
					
						
							|  |  |  |             "pytest", | 
					
						
							|  |  |  |             "coverage", | 
					
						
							|  |  |  |             "tox", | 
					
						
							|  |  |  |             "sphinx", | 
					
						
							|  |  |  |             "pallets-sphinx-themes", | 
					
						
							|  |  |  |             "sphinxcontrib-log-cabinet", | 
					
						
							|  |  |  |             "sphinx-issues", | 
					
						
							| 
									
										
										
										
											2017-05-29 01:26:07 +08:00
										 |  |  |         ], | 
					
						
							| 
									
										
										
										
											2019-06-23 04:10:50 +08:00
										 |  |  |         "docs": [ | 
					
						
							|  |  |  |             "sphinx", | 
					
						
							|  |  |  |             "pallets-sphinx-themes", | 
					
						
							|  |  |  |             "sphinxcontrib-log-cabinet", | 
					
						
							|  |  |  |             "sphinx-issues", | 
					
						
							| 
									
										
										
										
											2018-02-07 00:03:09 +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
										 |  |  | ) |