forked from PageBot/SimpleIDML
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.62 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
51
52
53
54
import os
import sys
from distutils.core import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
if sys.version_info.major == 3:
suds_package = "suds-py3"
else:
suds_package = "suds"
setup(
name="SimpleIDML",
version="1.0.1",
license='BSD Licence',
author='Stanislas Guerra',
author_email='[email protected]',
description='A library to manipulate Adobe(r) IDML(r) files.',
long_description=README,
package_dir={'': 'src'},
install_requires=['future', 'lxml', suds_package],
packages=[
'simple_idml',
'simple_idml.indesign',
],
package_data={
'simple_idml.indesign': [
'scripts/*.jsx',
]
},
data_files=[],
scripts=[
'src/scripts/simpleidml_create_package_from_dir.py',
'src/scripts/simpleidml_indesign_save_as.py',
'src/scripts/simpleidml_indesign_close_all_documents.py',
],
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Multimedia :: Graphics',
'Topic :: Printing',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)