forked from mhoffman/kmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·89 lines (86 loc) · 2.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
"""kMC modeling on steroids"""
import os
from distutils.core import setup
from kmos import __version__ as version
maintainer = 'Max J. Hoffmann'
maintainer_email = '[email protected]'
author = 'Max J. Hoffmann'
author_email = '[email protected]'
description = __doc__
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: X11 Applications :: GTK',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Operating System :: POSIX :: Windows',
'Programming Language :: Fortran',
'Programming Language :: Python',
'Topic :: Education',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Visualization',
]
requires = [
'ase',
'cairo',
'gobject',
'goocanvas',
'gtk',
'kiwi',
'lxml',
'matplotlib',
'pygtk',
]
license = 'COPYING'
long_description = file('README.rst').read()
name='python-kmos'
packages = [
'kmos',
'kmos.utils',
'kmos.run',
'kmos.gui',
]
package_dir = {'kmos':'kmos'}
package_data = {'kmos':['fortran_src/*f90',
'fortran_src/*.mpy',
'kmc_editor.glade',
'fortran_src/assert.ppc',
'kmc_project_v0.1.dtd',
'kmc_project_v0.2.dtd',
'kmc_project_v0.3.dtd']}
platforms = ['linux', 'windows']
if os.name == 'nt':
scripts = [
'tools/kmos.bat'
]
else:
scripts = [
'tools/kmos-build-standalone',
'tools/kmos',
'tools/kmos-install-dependencies-ubuntu',
]
url = 'https://github.com/mhoffman/kmos'
setup(
author=author,
author_email=author_email,
description=description,
#requires=requires,
license=license,
long_description=long_description,
maintainer=maintainer,
maintainer_email=maintainer_email,
name=name,
package_data=package_data,
package_dir=package_dir,
packages=packages,
platforms=platforms,
#requires=requires,
scripts=scripts,
url=url,
version=version,
)