-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
75 lines (65 loc) · 2.14 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This file is part of thumbor-wand-engine
# https://github.com/scorphus/thumbor-wand-engine
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2020-2022, Pablo S. Blum de Aguiar <scorphus@gmail.com>
from os import path
from setuptools import setup
VERSION = "0.1.1"
def read_readme_contents():
file_dir = path.abspath(path.dirname(__file__))
with open(path.join(file_dir, "README.md"), encoding="utf-8") as f:
return f.read()
tests_require = [
"black",
"colorama",
"flake8",
"isort",
"pytest",
"pytest-cov",
"pytest-mock",
"twine",
"wheel",
]
setup(
name="thumbor_wand_engine",
version=VERSION,
description="ImageMagick imaging engine for Thumbor",
long_description=read_readme_contents(),
long_description_content_type="text/markdown",
keywords="thumbor imaging imagemagick magickwand magick wand",
author="Pablo S. Blum de Aguiar",
author_email="scorphus@gmail.com",
url="https://github.com/scorphus/thumbor-wand-engine",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Multimedia :: Graphics :: Presentation",
"Environment :: Plugins",
],
packages=["thumbor_wand_engine"],
include_package_data=True,
install_requires=[
"thumbor",
"Wand",
],
extras_require={
"tests": tests_require,
},
)