2018-08-21 14:30:22 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
2021-12-01 17:28:02 +00:00
|
|
|
__version__ = "1.1" # Bump to a 3-part semver for next version, i.e. 1.1.1
|
2021-11-22 15:33:10 +00:00
|
|
|
|
|
|
|
with open("README.md") as f:
|
|
|
|
long_description = f.read()
|
2018-08-21 14:30:22 +00:00
|
|
|
|
|
|
|
setup(
|
2020-01-23 11:48:59 +00:00
|
|
|
name="synapse-s3-storage-provider",
|
2018-08-21 14:30:22 +00:00
|
|
|
version=__version__,
|
|
|
|
zip_safe=False,
|
2021-11-22 15:33:10 +00:00
|
|
|
author="matrix.org team and contributors",
|
|
|
|
description="A storage provider which can fetch and store media in Amazon S3.",
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2018-08-21 14:30:22 +00:00
|
|
|
url="https://github.com/matrix-org/synapse-s3-storage-provider",
|
2021-11-22 15:33:10 +00:00
|
|
|
classifiers=[
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: Apache Software License",
|
|
|
|
],
|
2020-01-23 11:48:59 +00:00
|
|
|
py_modules=["s3_storage_provider"],
|
|
|
|
scripts=["scripts/s3_media_upload"],
|
2018-08-23 17:55:50 +00:00
|
|
|
install_requires=[
|
2022-10-12 10:51:55 +00:00
|
|
|
"boto3>=1.9.23,<2.0",
|
|
|
|
"botocore>=1.12.23,<2.0",
|
|
|
|
"humanize>=0.5.1,<0.6",
|
|
|
|
"psycopg2>=2.7.5,<3.0",
|
|
|
|
"PyYAML>=3.13,<4.0",
|
|
|
|
"tqdm>=4.26.0,<5.0",
|
2021-01-21 12:22:43 +00:00
|
|
|
"Twisted",
|
2018-08-23 17:55:50 +00:00
|
|
|
],
|
2018-08-21 14:30:22 +00:00
|
|
|
)
|