forked from psd-tools/psd-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·61 lines (56 loc) · 1.92 KB
/
setup.py
File metadata and controls
executable file
·61 lines (56 loc) · 1.92 KB
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
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
from setuptools import setup, find_packages
import logging
import os
logger = logging.getLogger(__name__)
def get_version():
"""
Get package version.
"""
curdir = os.path.dirname(__file__)
filename = os.path.join(curdir, 'src', 'psd_tools', 'version.py')
with open(filename, 'rb') as fp:
return fp.read().decode('utf8').split('=')[1].strip(" \n'")
setup(
name='psd-tools',
version=get_version(),
author='Kota Yamaguchi',
author_email='KotaYamaguchi1984@gmail.com',
url='https://github.com/psd-tools/psd-tools',
description='Python package for working with Adobe 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!=6.0.0',
'enum34;python_version<"3.4"',
'aggdraw',
],
keywords="photoshop psd pil pillow",
package_dir={'': 'src'},
packages=find_packages('src'),
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 :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)