@@ 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",
@@ 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: