mirror of
https://github.com/drewcassidy/Pillow-mbm.git
synced 2024-09-01 14:44:04 +00:00
40 lines
1.3 KiB
Python
40 lines
1.3 KiB
Python
import os.path
|
|
from setuptools import setup
|
|
|
|
project_path = os.path.dirname(os.path.realpath(__file__))
|
|
|
|
with open(os.path.join(project_path, 'pillow_mbm', 'version.py')) as f:
|
|
exec(f.read())
|
|
|
|
with open(os.path.join(project_path, 'README.md')) as f:
|
|
readme = f.read()
|
|
|
|
setup(
|
|
name='pillow-mbm',
|
|
description="A pillow plugin that adds support for KSP's MBM textures",
|
|
version=__version__,
|
|
long_description=readme,
|
|
long_description_content_type='text/markdown',
|
|
python_requires=">=3.7",
|
|
install_requires=['Pillow', 'click'],
|
|
entry_points={
|
|
'console_scripts': ['convert-mbm = pillow_mbm.__main__:decode']
|
|
},
|
|
package_dir={'': '.'},
|
|
packages=['pillow_mbm'],
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'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",
|
|
],
|
|
)
|