installs wrong
Closed this issue · 1 comments
flying-sheep commented
here is a tutorial how to do it. the main errors are:
- you should use relative or absolute imports.
import IO_utils
should befrom .IO_utils import ...
orfrom sircel import IO_utils
py_modules
isn’t for dependencies, it‘s for listing your own stuff. check the tutorial above for how to specify dependencies.- you shouldn’t do what you do here. the final location of the package is in
.../site-packages
. the directory where you called setup.py from should be deletable immediately after runningpython3 setup.py install
- after installing,
python -m sircel
or justsircel
should be enough to run it. for the former, renameSircel_master.py
to__main__.py
. for the latter, see the packaging tutorial i linked to at the start (chapter “Command line scripts”) kallisto
inparams.json
should be set to"kallisto"
per default. the normal way to call binaries is to put them into some directory in your$PATH
, where they can then be found automatically and without configuration.--osx
is superfluous. you should detect that automatically.
furthermore: python modules shouldn’t be named with uppercase letters
flying-sheep commented
to sum up:
if which kallisto
prints a path on my system, the following should work no matter the OS:
wget https://github.com/pachterlab/sircel/archive/master.zip
unzip master.zip
pip3 install sircel-master
rm -rf master.zip sircel-master
python3 -m sircel --help