-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
53 lines (46 loc) · 1.33 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
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
long_description = ""
if os.path.isfile("README.rst"):
long_description = open("README.rst", "r", encoding="utf-8").read()
setup(
name="imagequant",
version="1.1.3",
description="Image Quantization Library",
url="https://github.com/wanadev/imagequant-python",
project_urls={
"Source Code": "https://github.com/wanadev/imagequant-python",
"Documentation": "https://github.com/wanadev/imagequant-python#usage",
"Changelog": "https://github.com/wanadev/imagequant-python#changelog",
"Issues": "https://github.com/wanadev/imagequant-python/issues",
"Chat": "https://discord.gg/BmUkEdMuFp",
},
license="BSD-3-Clause",
long_description=long_description,
keywords="image libimagequant pngquant cffi",
author="Wanadev",
author_email="[email protected]",
maintainer="Fabien LOISON",
packages=find_packages(),
setup_requires=[
"cffi>=1.0.0",
],
install_requires=[
"cffi>=1.0.0",
],
extras_require={
"dev": [
"nox",
"flake8",
"black",
"pytest",
],
"pil": [
"pillow",
],
},
cffi_modules=[
"imagequant/libimagequant_build.py:ffibuilder",
],
)