-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
50 lines (42 loc) · 1.49 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
with open('icoextract/version.py') as f:
exec(f.read())
setup(
name="icoextract",
description="Windows PE EXE icon extractor",
version=__version__,
url="https://github.com/jlu5/icoextract",
author="James Lu",
author_email="[email protected]",
license="MIT/Expat",
classifiers=[
# https://pypi.org/classifiers/
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
packages=find_packages(exclude=['tests']),
install_requires=['pefile'],
extras_require={
"thumbnailer": ["Pillow"]
},
# Executable scripts
entry_points={
'console_scripts': [
'icoextract = icoextract.scripts.extract:main',
'icolist = icoextract.scripts.icolist:main',
'exe-thumbnailer = icoextract.scripts.thumbnailer:main [thumbnailer]',
],
},
)