Commit 715129d9 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Merge branch 'bugfix/fix_entrypoint' into 'master'

Moved bin/enpt_cli.py to enpt/cli.py to fix missing argparser when installed from conda.

See merge request !56
parents e95cc38b 944b92f1
Pipeline #24439 passed with stages
in 30 minutes and 19 seconds
......@@ -205,6 +205,8 @@ tests/linting/pydocstyle.log.log
/docs/enpt.execution.rst
/docs/enpt.io.rst
/docs/enpt.model.rst
/docs/enpt.model.images.rst
/docs/enpt.model.metadata.rst
/docs/enpt.options.rst
/docs/enpt.processors.atmospheric_correction.rst
/docs/enpt.processors.cloud_screening.rst
......
......@@ -2,6 +2,12 @@
History
=======
0.17.4 (2021-06-15)
-------------------
* Moved bin/enpt_cli.py to enpt/cli.py to fix missing argparser when installed from conda.
0.17.3 (2021-06-04)
-------------------
......
include AUTHORS.rst
include CONTRIBUTING.rst
include HISTORY.rst
include LICENSE
......
......@@ -125,7 +125,7 @@ enpt
At the command line, EnPT provides the **enpt** command:
.. argparse::
:filename: ./../bin/enpt_cli.py
:filename: ./../enpt/cli.py
:func: get_enpt_argparser
:prog: enpt
......
......@@ -87,7 +87,7 @@ setup(
description="EnMAP Processing Tool",
entry_points={
'console_scripts': [
'enpt=bin.enpt_cli:main',
'enpt=enpt.cli:main',
],
},
extras_require={
......
......@@ -32,7 +32,7 @@
test_cli_parser
---------------
Tests for enpt.bin.enpt_cli.py
Tests for enpt.bin.cli.py
"""
from unittest import TestCase
......@@ -46,7 +46,7 @@ import enpt
__author__ = 'Daniel Scheffler'
path_run_enpt = os.path.abspath(os.path.join(enpt.__path__[0], '..', 'bin', 'enpt_cli.py'))
path_run_enpt = os.path.abspath(os.path.join(enpt.__path__[0], 'cli.py'))
class Test_CLIParser(TestCase):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment