-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
48 lines (40 loc) · 1.41 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
#!/usr/bin/env python3
from __future__ import print_function
from setuptools import setup, find_packages
from pathlib import Path
__version__ = "1.6.1.2"
# PyQt (5.15.x) has not been added here are it needs to be installed via apt-get instead to support Qwt.
# requirements below do not have versions for upstream packaging processes, but tested and compatible versions are given
requirements = [
'numpy', # tested with version >=1.19.4 (<= 1.22.3)
'scipy', # tested with versions 1.5.2 for Python 3.6 and >=1.6.2 (<= 1.8.0)
'astlib', # tested with version 0.11.6 and 0.11.7
'astropy', # tested with 4.1, 4.2 and 5.0.4
'astro_tigger_lsm==1.7.2', # PyQt5 version of astro-tigger-lsm
'configparser', # tested with version 5.0.1 and 5.2.0
]
scripts = [
'TigGUI/tigger',
]
package_data = {'TigGUI': [
'icons/*.png',
'tigger.conf',
]
}
setup(
name="astro-tigger",
version=__version__,
packages=find_packages(),
scripts=scripts,
package_data=package_data,
description="yet another FITS image viewer",
author="Oleg Smirnov",
author_email="[email protected]",
url="https://github.com/ratt-ru/tigger",
python_requires='>=3.6',
install_requires=requirements,
data_files=[
(f"{Path.home()}/.local/share/applications", ['desktop/tigger.desktop']),
(f"{Path.home()}/.local/share/icons", ['TigGUI/icons/tigger_logo.png']),
],
)