mirror of
https://github.com/matrix-org/synapse-s3-storage-provider.git
synced 2024-10-23 07:29:40 +00:00
Update version number and give setup.py some love (#68)
* Mark version as 1.1 The previous owner of the PyPI package updated to a version 1.1 two days ago, so this ought to be bumped to 1.1 too. See https://pypi.org/project/synapse-s3-storage-provider/1.1/#description * Extra options in setup.py * Packaging instructions
This commit is contained in:
parent
04d5fb7fe9
commit
84858af0ca
2 changed files with 26 additions and 1 deletions
14
README.md
14
README.md
|
@ -76,3 +76,17 @@ Updated 0 as deleted
|
||||||
> s3_media_upload upload /path/to/media/store matrix_s3_bucket_name --storage-class STANDARD_IA --delete
|
> s3_media_upload upload /path/to/media/store matrix_s3_bucket_name --storage-class STANDARD_IA --delete
|
||||||
# prepare to wait a long time
|
# prepare to wait a long time
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Packaging
|
||||||
|
---------
|
||||||
|
|
||||||
|
For maintainers:
|
||||||
|
|
||||||
|
1. Update the `__version__` in setup.py.
|
||||||
|
2. Build, check and upload to PyPI as follows:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
python -m build
|
||||||
|
twine check dist/*
|
||||||
|
twine upload dist/*
|
||||||
|
```
|
||||||
|
|
13
setup.py
13
setup.py
|
@ -1,12 +1,23 @@
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
__version__ = "1.0"
|
__version__ = "1.1"
|
||||||
|
|
||||||
|
with open("README.md") as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="synapse-s3-storage-provider",
|
name="synapse-s3-storage-provider",
|
||||||
version=__version__,
|
version=__version__,
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
|
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",
|
||||||
url="https://github.com/matrix-org/synapse-s3-storage-provider",
|
url="https://github.com/matrix-org/synapse-s3-storage-provider",
|
||||||
|
classifiers=[
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
],
|
||||||
py_modules=["s3_storage_provider"],
|
py_modules=["s3_storage_provider"],
|
||||||
scripts=["scripts/s3_media_upload"],
|
scripts=["scripts/s3_media_upload"],
|
||||||
install_requires=[
|
install_requires=[
|
||||||
|
|
Loading…
Reference in a new issue