-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (53 loc) · 1.79 KB
/
setup.py
File metadata and controls
55 lines (53 loc) · 1.79 KB
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
46
47
48
49
50
51
52
53
54
55
from setuptools import setup, find_packages
import subprocess
import sys
# Check for FFmpeg at install time (optional)
try:
subprocess.check_output(['ffmpeg', '-version'], stderr=subprocess.STDOUT)
subprocess.check_output(['ffprobe', '-version'], stderr=subprocess.STDOUT)
except (subprocess.SubprocessError, FileNotFoundError):
print("WARNING: FFmpeg and/or FFprobe not found. Image optimization features will not work.")
print("Please install FFmpeg: https://ffmpeg.org/download.html")
setup(
name="s3u",
version="0.1.0",
packages=find_packages(),
install_requires=[
"aioboto3",
"pyperclip",
"questionary", # For interactive menus
"tqdm", # Needed for progress tracking
"boto3", # Base dependency for S3 operations
],
extras_require={
"dev": [
"pytest",
"pytest-cov",
"flake8",
"black",
],
},
entry_points={
'console_scripts': [
's3u=s3u.cli:run_cli',
],
},
python_requires=">=3.7",
author="Daniel Hilse",
author_email="danhilse@gmail.com",
description="S3 Upload Utility - Optimize images and upload files to S3",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
keywords="s3, upload, aws, utility, images, optimization, cloudfront",
url="https://github.com/danhilse/s3u",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
],
)