-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·50 lines (41 loc) · 1.38 KB
/
setup.py
File metadata and controls
executable file
·50 lines (41 loc) · 1.38 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
#!/usr/bin/env python-sirius
import pathlib
from setuptools import setup
def get_abs_path(relative):
"""."""
return str(pathlib.Path(__file__).parent / relative)
with open(get_abs_path("README.md"), "r") as _f:
_long_description = _f.read().strip()
with open(get_abs_path("VERSION"), "r") as _f:
__version__ = _f.read().strip()
with open(get_abs_path("requirements.txt"), "r") as _f:
_requirements = _f.read().strip().split("\n")
setup(
name='fieldmaptrack',
version=__version__,
author='lnls-fac',
description='Fieldmap analysis utilities',
long_description=_long_description,
url='https://github.com/lnls-fac/fieldmaptrack',
download_url='https://github.com/lnls-fac/fieldmaptrack',
license='MIT License',
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Topic :: Scientific/Engineering'
],
packages=['fieldmaptrack'],
install_requires=_requirements,
package_data={'fieldmaptrack': ['VERSION']},
scripts=[
'scripts/fac-fma-analysis.py',
'scripts/fac-fma-model.py',
'scripts/fac-fma-multifunctional-sextupole.py',
'scripts/fac-fma-multipoles.py',
'scripts/fac-fma-profile.py',
'scripts/fac-fma-rawfield.py',
'scripts/fac-fma-sextupole.py',
'scripts/fac-fma-trajectory.py',
],
zip_safe=False,
)