Pillow-mbm/setup.py

41 lines
1.4 KiB
Python
Raw Normal View History

2021-04-12 03:49:31 +00:00
import os.path
2021-04-12 00:54:04 +00:00
from setuptools import setup
2021-04-12 03:49:31 +00:00
project_path = os.path.dirname(os.path.realpath(__file__))
2021-04-12 00:54:04 +00:00
2021-04-12 03:49:31 +00:00
with open(os.path.join(project_path, 'pillow_mbm', 'version.py')) as f:
exec(f.read())
2021-04-12 00:54:04 +00:00
2021-04-12 03:49:31 +00:00
with open(os.path.join(project_path, 'README.md')) as f:
readme = f.read()
2021-04-12 00:54:04 +00:00
setup(
name='pillow-mbm',
description="A pillow plugin that adds support for KSP's MBM textures",
2021-04-12 03:49:31 +00:00
version=__version__,
long_description=readme,
2021-04-12 00:54:04 +00:00
long_description_content_type='text/markdown',
2021-04-12 03:49:31 +00:00
python_requires=">=3.7",
2021-04-12 00:54:04 +00:00
install_requires=['Pillow'],
2021-04-12 03:49:31 +00:00
extras_require={'CLI': ['click']},
entry_points={
'console_scripts': ['convert-mbm = pillow_mbm.__main__:decode [CLI]']
2021-04-12 00:54:04 +00:00
},
package_dir={'': '.'},
2021-04-12 03:49:31 +00:00
packages=['pillow_mbm'],
2021-04-12 00:54:04 +00:00
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Games/Entertainment :: Simulation',
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
],
)