-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·53 lines (47 loc) · 1.68 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import sys
install_requires = ['sqlalchemy',
'PySide',
'jinja2',
'appdirs']
extras = {
'weasy': 'weasyprint',
'import': 'pyquery'
}
if sys.platform != "win32":
data_files=[('share/applications/', ['src/pySpellbook.desktop']),
('share/pixmaps/', ['src/icons/pySpellbook.png'])]
else:
data_files = []
setup(
name = "pySpellbook",
author = "Christoph Stahl",
author_email = "christoph.stahl@uni-dortmund.de",
url = "https://github.com/christofsteel/pyspellbook",
description = "A PDF spellbook creation utility for d20 games in python",
license = "apache2",
platforms = ["posix", "win32", "win64"],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: Apache Software License',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Topic :: Games/Entertainment :: Role-Playing'
],
version = "0.9.0.1",
packages = find_packages('src'),
package_dir = {'':'src'},
extras_require = extras,
data_files = data_files,
package_data = {'pySpellbook':['templates/html/resources/*',
'templates/html/template.html',
'i18n/*']},
scripts = [ "src/scripts/pySpellbook",
"src/scripts/pySpellbook-importpathfinder",
"src/scripts/pySpellbook-importpathfinderDE",
"src/scripts/pySpellbook-importd20srd"
],
install_requires = install_requires,
)