-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
45 lines (42 loc) · 1.37 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup # type: ignore
with open("README.md", "r", encoding="utf-8") as readme:
long_description = readme.read()
with open("filestorage/VERSION", "r", encoding="utf-8") as version_file:
version = version_file.read().strip()
setup(
name="filestorage",
version=version,
author="Ian Epperson",
author_email="[email protected]",
description="Save uploaded files in configurable stores",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ianepperson/filestorage",
packages=["filestorage", "filestorage.filters", "filestorage.handlers"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.8",
platforms="any",
package_data={
"filestorage": ["*.pyi", "py.typed", "VERSION"],
"filestorage.filters": ["*.pyi", "py.typed"],
"filestorage.handlers": ["*.pyi", "py.typed"],
},
include_package_data=True,
install_requires=["asgiref"],
extras_require={
"aio_file": ["aiofiles"],
"s3": ["aioboto3"],
"test": [
"pytest",
"mock",
"pytest-asyncio",
"pytest-mock",
"aioboto3",
"aiofiles",
],
},
)