-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
51 lines (45 loc) · 1.64 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
import os, sys
from setuptools import setup, find_packages
import sys
extra_package_data = []
if sys.platform.startswith('darwin'):
extra_package_data = ['*.dylib']
rootdir = os.path.abspath(os.path.dirname(__file__))
version_path = os.path.join(rootdir, 'VERSION.txt')
player_version = open(version_path).readline().strip()
extra_library = ''
if sys.platform.startswith('darwin'):
extra_library = 'Utilities/*.dylib'
setup(name='cc3d-player5',
author='T.J. Sego, Maciek Swat',
classifiers=[
'Intended Audience :: Science/Research'
],
description='CC3D Player: a real-time, interactive CompuCell3D simulation execution and visualization graphical user interface',
url='https://compucell3d.org',
version=player_version,
packages=find_packages(
include=['cc3d.player5', 'cc3d.player5.*']
),
include_package_data=True,
package_data={
'': [
'*.information', '*.qrc', '*.sql', '*.xml', "*.css", "*.png"
] + extra_package_data,
'cc3d.player5': [
'compucell3d.pyw',
'Configuration/*',
'Configuration_settings/*',
'Configuration_settings/osx/*',
'icons/*',
'styles/themes/*',
'Launchers/*',
'Plugins/ViewManagerPlugins/*',
extra_library
]
},
entry_points={
'gui_scripts': ['cc3d-player5ParamScan = cc3d.player5.param_scan.parameter_scan_run:main',
'cc3d-player5 = cc3d.player5.__main__:main']
}
)