~fluix/tilde

af0edfd04b0cd6b42d61acdc630c91fa5c4dd6d6 — Steven Guikal 4 months ago 37b5ab5 0.1.0
Fix package files
3 files changed, 11 insertions(+), 4 deletions(-)

M setup.py
M tilde/__init__.py
R config.defaults => tilde/config.defaults
M setup.py => setup.py +9 -2
@@ 6,14 6,21 @@ from setuptools import find_packages, setup

setup(
    name="tilde",
    version="0.3.0",
    version="0.1.0",
    description="Tilde site and service suite for friends to come together.",
    author="Steven Guikal",
    author_email="void@fluix.one",
    url="https://git.sr.ht/~fluix/tilde",
    license="AGPL-3.0",
    packages=find_packages(),
    include_package_data=True,
    package_data={
        "tilde": [
            "config.defaults",
        ],
        "blueprints": [
            "*",
        ],
    },
    install_requires=[
        "flask",
        "flask-login",

M tilde/__init__.py => tilde/__init__.py +2 -2
@@ 11,8 11,8 @@ from flask_sqlalchemy import SQLAlchemy
logger = logging.getLogger(__name__)

app = Flask(__name__, subdomain_matching=True)
app.config.from_pyfile("../config.defaults")
for location in ["../config", "/etc/tilde/config"]:
app.config.from_pyfile("config.defaults")
for location in ["config", "/etc/tilde/config"]:
    try:
        app.config.from_pyfile(location)
    except FileNotFoundError:

R config.defaults => tilde/config.defaults +0 -0