-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (47 loc) · 1.45 KB
/
setup.py
File metadata and controls
60 lines (47 loc) · 1.45 KB
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
"""
ChaRM Python Package for characterizing reflectivity models
AUTHOR: Mohammad Maysami
Seismic Laboratory for Imaging and Modeling (SLIM)
Department of Earth & Ocean Sciences (EOSC)
The University of British Columbia (UBC)
LICENSE: You may use this code only under the conditions and terms
of the license contained in the file LICENSE provided with
this source code. If you do not agree to these terms you may
not use this software.
"""
from distutils.core import setup
from sys import argv
from os import path
# Find the absolute path to the package folder
script=argv[0]
pathname = path.dirname(script)
packpath= path.abspath(pathname)
packages = [
"Charm",
"Charm.Core",
]
package_dir={'Charm':packpath}
package_data={'Charm':[
'*.txt',
'*.sh',
'LICENSE',
'SConstruct',
'Doc/*.txt','Doc/*.doc',
'pydata/*.pyd',
'Data/*.pyd',
'Results/*.pyd',
]}
setup(name='Charm',
description='Python Package for ChaRM',
long_description='',
version='0.1.0',
author = "Mohammad Maysami",
author_email='mmaysami@eos.ubc.ca',
maintainer='Mohammad Maysami',
maintainer_email='mmaysami@eos.ubc.ca',
download_url='',
url='https://wave.eos.ubc.ca ' ,
packages = packages,
package_dir=package_dir,
package_data=package_data,
)