forked from krother/Voronoia
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (41 loc) · 1.11 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
from setuptools import setup, find_packages
try:
import py2exe
except:
pass
setup(
name = 'Voronoia',
packages = find_packages(),
setup_requires = ["setuptools_git"],
install_requires = [],
version = '1.0.1',
package_data = {
'voronoia': ['data/*']
},
data_files = [
('scripts', ['scripts/convert_vol_for_jmol.py',
'scripts/view_nsc_pymol.py',
'scripts/voronoia.bat'
])
]
)
if 'py2exe' in locals():
#
# in die library.zip muss unbedingt das ganze Pmw-Verzeichnis reingeschoben werden.
#
#
data_files = [
('data',[
'data\\voronoia.gif',
'data\\protor_atomtypes.txt',
'data\\globular.avg',
'data\\README.TXT',
'data\\pymol_logo.gif',
'data\\get_volume.exe',
'data\\about.txt',
])
]
setup(console=['Voronoia.py'],
data_files=data_files)
setup(windows=['Voronoia_GUI.py'],
data_files=data_files)