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 04:27:32 +00:00
|
|
|
install_requires=['Pillow', 'click'],
|
2021-04-12 03:49:31 +00:00
|
|
|
entry_points={
|
2021-04-12 04:27:32 +00:00
|
|
|
'console_scripts': ['convert-mbm = pillow_mbm.__main__:decode']
|
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=[
|
2021-04-12 03:50:55 +00:00
|
|
|
'Development Status :: 4 - Beta',
|
2021-04-12 00:54:04 +00:00
|
|
|
'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",
|
|
|
|
],
|
|
|
|
)
|