forked from amorilia/pyffi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
71 lines (65 loc) · 2.27 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
"""Setup script for PyFFI."""
classifiers = """\
Development Status :: 4 - Beta
License :: OSI Approved :: BSD License
Intended Audience :: Developers
Intended Audience :: End Users/Desktop
Topic :: Multimedia :: Graphics :: 3D Modeling
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.0
Programming Language :: Python :: 3.1
Programming Language :: Python :: 3.2
Operating System :: OS Independent"""
#Topic :: Formats and Protocols :: Data Formats
from distutils.core import setup
import sys
if sys.version_info < (3, 0):
raise RuntimeError("PyFFI requires Python 3.0 or higher.")
import pyffi
try:
long_description = open("README.rst").read()
except IOError:
long_description = open("README.TXT").read()
setup(
name = "PyFFI",
version = pyffi.__version__,
packages = [
'pyffi',
'pyffi.object_models',
'pyffi.object_models.xml',
'pyffi.object_models.xsd',
'pyffi.utils',
'pyffi.formats',
'pyffi.formats.nif',
'pyffi.formats.kfm',
'pyffi.formats.cgf',
'pyffi.formats.dds',
'pyffi.formats.tga',
'pyffi.formats.egm',
'pyffi.formats.egt',
'pyffi.formats.esp',
'pyffi.formats.tri',
'pyffi.formats.bsa',
'pyffi.formats.psk',
'pyffi.spells',
'pyffi.spells.cgf',
'pyffi.spells.nif',
'pyffi.qskope',
'pyffi.formats.dae'],
# include xml, xsd, dll, and exe files
package_data = {'': ['*.xml', '*.xsd', '*.dll', '*.exe'],
'pyffi.formats.nif': ['nifxml/nif.xml'],
'pyffi.formats.kfm': ['kfmxml/kfm.xml']},
scripts = ['scripts/nif/nifmakehsl.py', 'scripts/nif/niftoaster.py', 'scripts/cgf/cgftoaster.py', 'scripts/kfm/kfmtoaster.py', 'scripts/qskope.py'],
author = "Amorilia",
author_email = "[email protected]",
license = "BSD",
keywords = "fileformat nif cgf binary interface stripify",
platforms = ["any"],
description = "Processing block structured binary files.",
classifiers = [_f for _f in classifiers.split("\n") if _f],
long_description = long_description,
url = "http://pyffi.sourceforge.net/",
download_url = "http://sourceforge.net/projects/pyffi/files/"
)