Make new pypi build

This commit is contained in:
Tulir Asokan 2019-09-29 16:55:51 +03:00
parent 341fb85b54
commit 0ef0acec6c
3 changed files with 6 additions and 4 deletions

View File

@ -1 +1 @@
__version__ = "0.1.0.dev25" __version__ = "0.1.0.dev26"

View File

@ -1,5 +1,4 @@
#mautrix mautrix
https://github.com/tulir/mautrix-python/tarball/master#egg=mautrix
aiohttp aiohttp
SQLAlchemy SQLAlchemy
alembic alembic

View File

@ -1,4 +1,5 @@
import setuptools import setuptools
import glob
import os import os
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "maubot", "__meta__.py") path = os.path.join(os.path.abspath(os.path.dirname(__file__)), "maubot", "__meta__.py")
@ -21,7 +22,7 @@ setuptools.setup(
packages=setuptools.find_packages(), packages=setuptools.find_packages(),
install_requires=[ install_requires=[
"mautrix>=0.4.dev70,<0.5", "mautrix>=0.4.dev72,<0.5",
"aiohttp>=3.0.1,<4", "aiohttp>=3.0.1,<4",
"SQLAlchemy>=1.2.3,<2", "SQLAlchemy>=1.2.3,<2",
"alembic>=1.0.0,<2", "alembic>=1.0.0,<2",
@ -54,6 +55,8 @@ setuptools.setup(
""", """,
data_files=[ data_files=[
(".", ["example-config.yaml"]), (".", ["example-config.yaml"]),
("alembic", ["alembic/env.py"]),
("alembic/versions", glob.glob("alembic/versions/*.py")),
], ],
package_data={ package_data={
"maubot": ["management/frontend/build/*", "management/frontend/build/static/css/*", "maubot": ["management/frontend/build/*", "management/frontend/build/static/css/*",