# Path: argos/info.py
# DEBUGGING = ('-d' in sys.argv or '--debug' in sys.argv)
# TESTING = True # add some test menu options
# PROFILING = False# and DEBUGGING
# VERSION = '0.4.1'
# REPO_NAME = "argos"
# SCRIPT_NAME = "argos"
# PACKAGE_NAME = "argos"
# PROJECT_NAME = "Argos"
# SHORT_DESCRIPTION = "Argos HDF5/NetCDF/scientific data viewer."
# PROJECT_URL = "https://github.com/titusjan/argos"
# AUTHOR = "Pepijn Kenter"
# EMAIL = "titusjan@gmail.com"
# ORGANIZATION_NAME = "titusjan"
# ORGANIZATION_DOMAIN = "titusjan.nl"
# EXIT_CODE_SUCCESS = 0
# EXIT_CODE_ERROR = 1
# EXIT_CODE_COMMAND_ARGS = 2
# EXIT_CODE_RESTART = 66 # Indicates the program is being 'restarted'
# KEY_PROGRAM = '_program'
# KEY_VERSION = '_version'
# def program_directory():
# def resource_directory():
# def icons_directory():


import os
import sys
    from setuptools import setup, find_packages
from argos import info
#   python setup.py sdist
#   twine upload dist/argos-0.2.0rc1.tar.gz
# or better
#   rm -rf build dist
#   python setup.py bdist_wheel
#   twine check dist/*
#   twine upload dist/argos-x.y.z-py3-none-any.whl

# If you get invalid command 'bdist_wheel', you must install the 'wheel' package first.

# See also https://packaging.python.org/en/latest/distributing.html
# TODO: still can't make a wheel even following the instructions in the link below.
# http://stackoverflow.com/questions/26664102/why-can-i-not-create-a-wheel-in-pyt


def err(*args, **kwargs):
    sys.stderr.write(*args, **kwargs)
    sys.stderr.write('\n')


try:
except ImportError:
    err("Argos requires setuptools for intallation. (https://pythonhosted.org/an_example_pypi_project/setuptools.html)")
    err("You can download and install it simply with: python argos/external/ez_setup.py")
    sys.exit(1)



if sys.version_info < (3,7):
    err("Argos requires Python 3.7")

# Path: argos/info.py
# DEBUGGING = ('-d' in sys.argv or '--debug' in sys.argv)
# TESTING = True # add some test menu options
# PROFILING = False# and DEBUGGING
# VERSION = '0.4.1'
# REPO_NAME = "argos"
# SCRIPT_NAME = "argos"
# PACKAGE_NAME = "argos"
# PROJECT_NAME = "Argos"
# SHORT_DESCRIPTION = "Argos HDF5/NetCDF/scientific data viewer."
# PROJECT_URL = "https://github.com/titusjan/argos"
# AUTHOR = "Pepijn Kenter"
# EMAIL = "titusjan@gmail.com"
# ORGANIZATION_NAME = "titusjan"
# ORGANIZATION_DOMAIN = "titusjan.nl"
# EXIT_CODE_SUCCESS = 0
# EXIT_CODE_ERROR = 1
# EXIT_CODE_COMMAND_ARGS = 2
# EXIT_CODE_RESTART = 66 # Indicates the program is being 'restarted'
# KEY_PROGRAM = '_program'
# KEY_VERSION = '_version'
# def program_directory():
# def resource_directory():
# def icons_directory():


# Path: setup.py
import os
import sys
    from setuptools import setup, find_packages
from argos import info

#   python setup.py sdist
#   twine upload dist/argos-0.2.0rc1.tar.gz
# or better
#   rm -rf build dist
#   python setup.py bdist_wheel
#   twine check dist/*
#   twine upload dist/argos-x.y.z-py3-none-any.whl

# If you get invalid command 'bdist_wheel', you must install the 'wheel' package first.

# See also https://packaging.python.org/en/latest/distributing.html
# TODO: still can't make a wheel even following the instructions in the link below.
# http://stackoverflow.com/questions/26664102/why-can-i-not-create-a-wheel-in-pyt


def err(*args, **kwargs):
    sys.stderr.write(*args, **kwargs)
    sys.stderr.write('\n')


try:
except ImportError:
    err("Argos requires setuptools for intallation. (https://pythonhosted.org/an_example_pypi_project/setuptools.html)")
    err("You can download and install it simply with: python argos/external/ez_setup.py")
    sys.exit(1)



if sys.version_info < (3,7):
    err("Argos requires Python 3.7")

    sys.exit(1)