From 0ef0acec6ccc2f14ccbe93d812fbd00a5c8edc44 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 29 Sep 2019 16:55:51 +0300 Subject: [PATCH] Make new pypi build --- maubot/__meta__.py | 2 +- requirements.txt | 3 +-- setup.py | 5 ++++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/maubot/__meta__.py b/maubot/__meta__.py index 0b2855c..0f8c453 100644 --- a/maubot/__meta__.py +++ b/maubot/__meta__.py @@ -1 +1 @@ -__version__ = "0.1.0.dev25" +__version__ = "0.1.0.dev26" diff --git a/requirements.txt b/requirements.txt index b1336bb..dd719a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ -#mautrix -https://github.com/tulir/mautrix-python/tarball/master#egg=mautrix +mautrix aiohttp SQLAlchemy alembic diff --git a/setup.py b/setup.py index c287a4b..6b07868 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ import setuptools +import glob import os path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "maubot", "__meta__.py") @@ -21,7 +22,7 @@ setuptools.setup( packages=setuptools.find_packages(), install_requires=[ - "mautrix>=0.4.dev70,<0.5", + "mautrix>=0.4.dev72,<0.5", "aiohttp>=3.0.1,<4", "SQLAlchemy>=1.2.3,<2", "alembic>=1.0.0,<2", @@ -54,6 +55,8 @@ setuptools.setup( """, data_files=[ (".", ["example-config.yaml"]), + ("alembic", ["alembic/env.py"]), + ("alembic/versions", glob.glob("alembic/versions/*.py")), ], package_data={ "maubot": ["management/frontend/build/*", "management/frontend/build/static/css/*",