Browse Source

Bin executable and now installable by setup.py

tags/v1.0
Benito Marcote 6 months ago
parent
commit
b630f3fb0f
13 changed files with 10 additions and 5 deletions
  1. +1
    -1
      Procfile
  2. +3
    -2
      app.py
  3. BIN
      mockups/mockup-antennas.png
  4. BIN
      mockups/mockup-app.pdf
  5. BIN
      mockups/mockup-images.jpg
  6. BIN
      mockups/mockup-plots.jpg
  7. BIN
      mockups/mockup-sensitivity.png
  8. BIN
      mockups/plot-beam.png
  9. BIN
      mockups/plot-elev.png
  10. BIN
      mockups/plot-uv.png
  11. BIN
      mockups/plot-vis.png
  12. +1
    -0
      setup.cfg
  13. +5
    -2
      setup.py

+ 1
- 1
Procfile View File

@@ -1 +1 @@
web: gunicorn app:server
web: gunicorn --chdir bin vlbiplanobs:server

+ 3
- 2
app.py View File

@@ -1,4 +1,4 @@
#! /usr/bin/env python3
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""EVN Observation Planner.

@@ -51,6 +51,7 @@ current_directory = path.dirname(path.realpath(__file__))
if path.isfile(current_directory + '/.astropy/cache/download/py3/lock'):
os.remove(current_directory + '/.astropy/cache/download/py3/lock')

# import vlbiplanobs
from vlbiplanobs import freqsetups as fs
from vlbiplanobs import stations
from vlbiplanobs import observation
@@ -123,7 +124,7 @@ external_scripts = ["https://kit.fontawesome.com/69c65a0ab5.js"]
# "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"]


app = dash.Dash(__name__, external_scripts=external_scripts)
app = dash.Dash(__name__, external_scripts=external_scripts, assets_folder=current_directory + '/assets/')
server = app.server




BIN
mockups/mockup-antennas.png View File

Before After
Width: 2119  |  Height: 1500  |  Size: 209 KiB

BIN
mockups/mockup-app.pdf View File


BIN
mockups/mockup-images.jpg View File

Before After
Width: 2120  |  Height: 1508  |  Size: 413 KiB

BIN
mockups/mockup-plots.jpg View File

Before After
Width: 2118  |  Height: 1503  |  Size: 650 KiB

BIN
mockups/mockup-sensitivity.png View File

Before After
Width: 2120  |  Height: 1502  |  Size: 266 KiB

BIN
mockups/plot-beam.png View File

Before After
Width: 1030  |  Height: 892  |  Size: 236 KiB

BIN
mockups/plot-elev.png View File

Before After
Width: 1166  |  Height: 850  |  Size: 270 KiB

BIN
mockups/plot-uv.png View File

Before After
Width: 554  |  Height: 458  |  Size: 80 KiB

BIN
mockups/plot-vis.png View File

Before After
Width: 1198  |  Height: 906  |  Size: 146 KiB

+ 1
- 0
setup.cfg View File

@@ -1,5 +1,6 @@
[metadata]

name = vlbiplanobs
# This includes the license file(s) in the wheel.
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file
license_files = LICENSE

+ 5
- 2
setup.py View File

@@ -1,4 +1,5 @@
from setuptools import setup
from setuptools import find_packages
import pathlib

# Get the long description from the README file
@@ -40,17 +41,19 @@ setup(name='vlbiplanobs',
'Programming Language :: Python :: 3 :: Only',
],
keywords='astronomy, astrophysics, cosmology, radio, science, observations, planner, coordinate',
python_requires='>=3.7, <4',
# When your source code is in a subdirectory under the project root, e.g.
# `src/`, it is necessary to specify the `package_dir` argument.
# package_dir={'': 'src'}, # Optional
packages=find_packages(where='vlbiplanobs'),
python_requires='>=3.7, <4',
packages=find_packages(),
scripts=['bin/vlbiplanobs'],
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
# TODO
# install_requires=[''],

# If there are data files included in your packages that need to be


Loading…
Cancel
Save