forked from orbit-oss/flask
commit
ab8d60d826
22 changed files with 6 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ source =
|
|||
|
||||
[coverage:paths]
|
||||
source =
|
||||
flask
|
||||
src/flask
|
||||
.tox/*/lib/python*/site-packages/flask
|
||||
.tox/pypy/site-packages/flask
|
||||
|
||||
|
|
@ -46,4 +46,4 @@ max-line-length = 80
|
|||
per-file-ignores =
|
||||
# __init__ modules export names
|
||||
**/__init__.py: F401
|
||||
**/_compat.py: E731, B301, F401
|
||||
src/flask/_compat.py: E731, B301, F401
|
||||
|
|
|
|||
6
setup.py
6
setup.py
|
|
@ -4,12 +4,13 @@ import io
|
|||
import re
|
||||
from collections import OrderedDict
|
||||
|
||||
from setuptools import find_packages
|
||||
from setuptools import setup
|
||||
|
||||
with io.open("README.rst", "rt", encoding="utf8") as f:
|
||||
readme = f.read()
|
||||
|
||||
with io.open("flask/__init__.py", "rt", encoding="utf8") as f:
|
||||
with io.open("src/flask/__init__.py", "rt", encoding="utf8") as f:
|
||||
version = re.search(r"__version__ = \"(.*?)\"", f.read()).group(1)
|
||||
|
||||
setup(
|
||||
|
|
@ -30,7 +31,8 @@ setup(
|
|||
maintainer_email="contact@palletsprojects.com",
|
||||
description="A simple framework for building complex web applications.",
|
||||
long_description=readme,
|
||||
packages=["flask", "flask.json"],
|
||||
packages=find_packages("src"),
|
||||
package_dir={"": "src"},
|
||||
include_package_data=True,
|
||||
zip_safe=False,
|
||||
platforms="any",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue