-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (34 loc) · 1.26 KB
/
Copy pathsetup.py
File metadata and controls
38 lines (34 loc) · 1.26 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
import os
from glob import glob
from setuptools import setup, find_packages
def src(pth):
return os.path.join(os.path.dirname(__file__), pth)
# Project description
descr = 'Reproducibel materials for A Neural Network Based Global Traveltime Function (GlobeNN)'
setup(
name="globenn",
description=descr,
long_description=open(src('README.md')).read(),
keywords=['inverse problems',
'deep learning',
'tomography',
'pinns',
'pde',
'seismic'],
classifiers=[
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Mathematics'
],
author='Mohammad Taufik, Tariq Alkhalifah',
author_email='mohammad.taufik@kaust.edu.sa, umair.waheed@kfupm.edu.sa, tariq.alkhalifah@kaust.edu.sa',
packages=find_packages(where='src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
use_scm_version=dict(root='.',
relative_to=__file__,
write_to=src('src/globenn/version.py')),
setup_requires=['setuptools_scm'],
)