mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-09 23:00:59 +00:00
931dac2e68
The 0003 migration from the certificates app of the LMS requires that the S3-like platform is correctly setup during initialisation. To solve this issue, we introduce a pre-init hook that is run prior to the LMS migrations.
41 lines
1.3 KiB
Python
41 lines
1.3 KiB
Python
import io
|
|
import os
|
|
from setuptools import setup
|
|
|
|
here = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
with io.open(os.path.join(here, "README.rst"), "rt", encoding="utf8") as f:
|
|
readme = f.read()
|
|
|
|
|
|
setup(
|
|
name="tutor-minio",
|
|
version="0.0.2",
|
|
url="https://docs.tutor.overhang.io/",
|
|
project_urls={
|
|
"Documentation": "https://docs.tutor.overhang.io/",
|
|
"Code": "https://github.com/overhangio/tutor/tree/master/plugins/minio",
|
|
"Issue tracker": "https://github.com/overhangio/tutor/issues",
|
|
"Community": "https://discuss.overhang.io",
|
|
},
|
|
license="AGPLv3",
|
|
author="Overhang.io",
|
|
author_email="contact@overhang.io",
|
|
description="A Tutor plugin for object storage in MinIO",
|
|
long_description=readme,
|
|
packages=["tutorminio"],
|
|
include_package_data=True,
|
|
python_requires=">=3.5",
|
|
entry_points={"tutor.plugin.v0": ["minio = tutorminio.plugin"]},
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: GNU Affero General Public License v3",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3.5",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
],
|
|
)
|