forked from psd-tools/psd-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·50 lines (44 loc) · 1.64 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 python
import logging
import os
from setuptools import setup, find_packages
logger = logging.getLogger(__name__)
def get_version():
filename = os.path.join(os.path.dirname(__file__), 'psd_tools', '_version.py')
with open(filename, 'rb') as fp:
return fp.read().decode('utf8').split('=')[1].strip(" \n'")
setup(
name='psd-tools3',
version=get_version(),
python_requires='>=3.9',
author='Stephen Neal',
author_email='stephen@stephenneal.net',
url='https://github.com/sfneal/psd-tools3',
description='Fork of psd-tools for working with Photoshop PSD files',
long_description=(open('README.rst').read() + "\n\n" + open('CHANGES.rst').read()),
license='MIT License',
install_requires=[
'docopt >= 0.5',
'packbits',
'attrs',
'Pillow',
'enum34;python_version<"3.4"',
],
keywords="photoshop psd pil pillow",
package_dir={'': 'psd_tools'},
packages=find_packages('psd_tools'),
entry_points={'console_scripts': ['psd-tools=psd_tools.__main__:main']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)