-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
executable file
·51 lines (46 loc) · 1.34 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
#!/usr/bin/env python
from setuptools import setup
with open('README.md', 'r') as readme_file:
long_description = readme_file.read()
tests_require = [
'pytest',
]
setup(
name='blurhash-python',
description='BlurHash encoder implementation for Python',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://blurha.sh',
use_scm_version=dict(
write_to='src/blurhash/_version.py',
),
author='Atte Lautanala',
author_email='[email protected]',
packages=['blurhash'],
package_dir={'': 'src'},
install_requires=[
'cffi',
'Pillow',
'six',
],
setup_requires=[
'cffi',
'setuptools-scm',
],
cffi_modules=['src/build_blurhash.py:ffibuilder'],
tests_require=tests_require,
extras_require={
'testing': tests_require,
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)