-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (32 loc) · 1.22 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
import re
import sys
from pathlib import Path
from setuptools import setup, find_packages
if sys.version_info[0] < 3:
raise SystemExit("Error: the link-budget tool requires Python 3")
version = re.search(r'^__version__\s*=\s*"(.*)"',
open('linkbudget/cli.py').read(), re.M).group(1)
long_description = (Path(__file__).parent / "README.md").read_text()
setup(name="link-budget",
packages=find_packages(),
entry_points={"console_scripts": ['link-budget = linkbudget.cli:main']},
version=version,
description="Link budget calculator for satellite and radar systems",
long_description=long_description,
long_description_content_type='text/markdown',
author="Igor Freire",
author_email="igor@blockstream.com",
url="https://github.com/igorauad/link-budget",
classifiers=[
'Programming Language :: Python :: 3',
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
],
install_requires=[
"itur>=0.4.0",
"numpy>=1.19.4",
"python-dateutil>=2.7.0",
"scipy>=1.7",
"skyfield==1.42",
],
python_requires='>=3')