-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (45 loc) · 1.79 KB
/
setup.py
File metadata and controls
49 lines (45 loc) · 1.79 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
import shutil
exec(open('martas/version.py').read())
shutil.copyfile('martas/acquisition.py','scripts/acquisition')
shutil.copyfile('martas/collector.py','scripts/collector')
shutil.copyfile('martas/martas_init.py', 'scripts/martas_init')
shutil.copyfile('martas/web/martas_view.py', 'scripts/martas_view')
shutil.copyfile('martas/web/marcos_view.py', 'scripts/marcos_view')
# modules:
# paramiko : file_upload
install_requires=[
"geomagpy > 1.1.9",
"numpy >= 1.21.0",
"scipy >= 1.7.1",
"pexpect",
"paramiko",
"pyserial",
"requests",
"python-crontab",
"twisted",
"plotly",
"dash",
"dash_daq",
"psutil",
"setuptools >= 61.0.0"
]
setup(
name='martas',
version=__version__,
author='R. Leonhardt, R. Bailey, R. Mandl, V. Haberle',
author_email='roman.leonhardt@geosphere.at',
packages=['martas', 'martas.app', 'martas.conf', 'martas.core', 'martas.doc', 'martas.init', 'martas.lib', 'martas.logrotate', 'martas.scripts','martas.web', 'martas.web.assets'],
scripts=['scripts/collector','scripts/acquisition', 'scripts/martas_init', 'scripts/martas_view', 'scripts/marcos_view'],
url='',
license='LICENSE.txt',
description='MARTAS',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
package_data={'martas': ['conf/*.cfg', 'conf/*.json', 'doc/*.png', 'doc/*.pdf', 'doc/*.md', 'init/*.sh', 'init/*.json', 'install/*.sh', 'logrotate/*.logrotate', 'scripts/*.sh', 'web/*.js', 'web/*.html', 'web/*.py', 'web/assets/*'] },
install_requires=install_requires,
)