21 changed files with 114 additions and 47 deletions
@ -0,0 +1,83 @@
@@ -0,0 +1,83 @@
|
||||
from setuptools import setup |
||||
import pathlib |
||||
|
||||
# Get the long description from the README file |
||||
long_description = (pathlib.Path(__file__).parent.resolve() / 'README.md').read_text(encoding='utf-8') |
||||
|
||||
|
||||
setup(name='vlbiplanobs', |
||||
# Versions should comply with PEP 440: |
||||
# https://www.python.org/dev/peps/pep-0440/ |
||||
# [N!]N(.N)*[{a|b|rc}N][.postN][.devN] |
||||
version='1.0b2', |
||||
# one-line description or tagline of what your project does |
||||
description='Planner for VLBI observations', |
||||
# "Description" metadata field |
||||
long_description=long_description, |
||||
long_description_content_type='text/markdown', |
||||
url='https://github.com/bmarcote/vlbi_calculator', |
||||
author='B. Marcote', |
||||
author_email='marcote@jive.eu', |
||||
# Classifiers help users find your project by categorizing it. |
||||
# For a list of valid classifiers, see https://pypi.org/classifiers/ |
||||
classifiers=[ # Optional |
||||
# How mature is this project? Common values are |
||||
# 3 - Alpha |
||||
# 4 - Beta |
||||
# 5 - Production/Stable |
||||
'Development Status :: 4 - Beta', |
||||
# Indicate who your project is intended for |
||||
'Intended Audience :: Science/Research', |
||||
'Topic :: Scientific/Engineering :: Astronomy', |
||||
# Pick your license as you wish |
||||
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)', |
||||
# Specify the Python versions you support here. In particular, ensure |
||||
# that you indicate you support Python 3. These classifiers are *not* |
||||
# checked by 'pip install'. See instead 'python_requires' below. |
||||
'Programming Language :: Python :: 3', |
||||
'Programming Language :: Python :: 3.7', |
||||
'Programming Language :: Python :: 3.8', |
||||
'Programming Language :: Python :: 3 :: Only', |
||||
], |
||||
keywords='astronomy, astrophysics, cosmology, radio, science, observations, planner, coordinate', |
||||
# 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', |
||||
# 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 |
||||
# install_requires=[''], |
||||
|
||||
# If there are data files included in your packages that need to be |
||||
# installed, specify them here. |
||||
# package_data={ |
||||
# 'sample': ['package_data.dat'], |
||||
# }, |
||||
|
||||
# Although 'package_data' is the preferred approach, in some case you may |
||||
# need to place data files outside of your packages. See: |
||||
# http://docs.python.org/distutils/setupscript.html#installing-additional-files |
||||
# |
||||
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data' |
||||
data_files=[('data', ['data/stations_catalog.inp'])], |
||||
# List additional URLs that are relevant to your project as a dict. |
||||
# |
||||
# This field corresponds to the "Project-URL" metadata fields: |
||||
# https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use |
||||
# |
||||
# Examples listed include a pattern for specifying where the package tracks |
||||
# issues, where the source is hosted, where to say thanks to the package |
||||
# maintainers, and where to support the project financially. The key is |
||||
# what's used to render the link text on PyPI. |
||||
project_urls={ # Optional |
||||
'Bug Reports': 'https://github.com/bmarcote/vlbi_calculator/issues', |
||||
# 'Funding': 'https://donate.pypi.org', |
||||
# 'Say Thanks!': 'http://saythanks.io/to/example', |
||||
'Source': 'https://github.com/bmarcote/vlbi_calculator/', |
||||
}, |
||||
) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
|
||||
import numpy as np |
||||
|
||||
from astropy import coordinates as coord |
||||
from astropy import units as u |
||||
from astropy.io import ascii |
||||
from astropy.time import Time |
||||
from astroplan import FixedTarget |
||||
from astroplan import Observer |
||||
import stations |
||||
import functions |
@ -1,13 +1,6 @@
@@ -1,13 +1,6 @@
|
||||
"""Different functions that are required to operate the program |
||||
""" |
||||
|
||||
import configparser |
||||
from astropy import coordinates as coord |
||||
from astropy import units as u |
||||
from astropy.io import ascii |
||||
|
||||
from src import stations |
||||
|
||||
|
||||
def get_stations_from_configfile(filename='data/stations_catalog.inp'): |
||||
"""Retrieves the information concerning all stations available in the 'filename' |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
[metadata] |
||||
|
||||
# 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 |
Loading…
Reference in new issue