yoobool / flask-state

Display machine state using Python3 with Flask.

Home Page:https://flask-state.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setup.py include some thing unnecessary

FesonX opened this issue · comments

it's common acknowledge that package SHOULD NOT include dir like tests, examples etc.
You supposed to exclude this packages in setup.py.

like

# setup.py
from setuptools import setup, find_packages

about = {}
with open('flask_state/__about__.py') as f:
    exec(f.read(), about)
# Metadata goes in setup.cfg. These are here for GitHub's dependency graph.
setup(
    name=about['__title__'],
    version=about['__version__'],
    # Here
    packages=find_packages(exclude=("tests", "examples")),
    install_requires=[
        "Werkzeug>=0.15",
        "Jinja2>=2.10.1",
        "itsdangerous>=0.24",
        "click>=5.1",
        "Flask>=1.0",
        "SQLAlchemy>=1.2",
        "Flask-SQLAlchemy>=1.0"
    ]
)

Copy that