Closed rrjbca closed 4 years ago
I get a really bizarre looking error when trying to install skypy on a fresh conda environment:
To Reproduce
conda create --name skypy-rc-test
conda activate skypy-rc-test
conda install pip
pip install skypy
skypy --help
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
Usage: import [options ...] [ file ]
Image Settings:
-adjoin join images into a single multi-image file
-border include window border in the output image
-channel type apply option to select image channels
-colorspace type alternate image colorspace
-comment string annotate image with comment
-compress type type of pixel compression when writing the image
-define format:option
...
Desktop
@ntessore can you reproduce or help with the (maybe) conda aspect to this?
The same error happens in both scenarios below:
To Reproduce
pip install skypy
(i.e. in my existing conda environment)skypy --help
and
pip install .
skypy --help
Describe the bug
When installing skypy-0.1rc1 using PyPI
scripts/skypy
is not installed properly; it is simply copied into the bin directory. In contrast, cloning the repo and runningpython setup.py install
gives an executable script configured for the python environment.To Reproduce
pip install skypy
skypy --help
Expected behavior
python setup.py install
skypy --help
SkyPy pipeline driver
optional arguments: -h, --help show this help message and exit -c CONFIG, --config CONFIG Config file name -f {fits,hdf5}, --format {fits,hdf5} Table file format