(env3114) josephkarpinski@Josephs-iMac desiutil-main % ./setup.py --help-commands
Standard commands:
build build everything needed to install
build_py "build" pure Python modules (copy to build directory)
build_ext build C/C++ extensions (compile/link to build directory)
build_clib build C/C++ libraries used by Python extensions
build_scripts "build" scripts (copy and fixup #! line)
clean clean up temporary files from 'build' command
install install everything from build directory
install_lib install all Python modules (extensions and pure Python)
install_headers install C/C++ header files
install_scripts install scripts (Python or otherwise)
install_data install data files
sdist create a source distribution (tarball, zip file, etc.)
register register the distribution with the Python package index
bdist create a built (binary) distribution
bdist_dumb create a "dumb" built distribution
bdist_rpm create an RPM distribution
check perform some checks on the package
upload upload binary package to PyPI
Extra commands:
ptr run unit tests after in-place build (deprecated)
pytest run unit tests after in-place build (deprecated)
isort Run isort on modules registered in setuptools
build_sphinx Build Sphinx documentation
compile_catalog compile message catalogs to binary MO files
extract_messages extract localizable strings from the project code
init_catalog create a new catalog based on a POT file
update_catalog update message catalogs from a POT file
bdist_wheel create a wheel distribution
alias define a shortcut to invoke one or more commands
bdist_egg create an "egg" distribution
develop install package in 'development mode'
dist_info DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory
easy_install Find/get/install Python packages
editable_wheel DO NOT CALL DIRECTLY, INTERNAL ONLY: create PEP 660 editable wheel
egg_info create a distribution's .egg-info directory
install_egg_info Install an .egg-info directory for the package
rotate delete older distributions, keeping N newest files
saveopts save supplied options to setup.cfg or other config file
setopt set an option in setup.cfg or another config file
test run unit tests after in-place build (deprecated)
upload_docs Upload documentation to sites other than PyPi such as devpi
Hi,
I looks like you have to install "desitarget" locally to work with this notebook.
https://github.com/astro-datalab/notebooks-latest/blob/master/03_ScienceExamples/DESI/01_Intro_to_DESI_EDR.ipynb
Any install documentation available? What I've found at "https://github.com/desihub/desitarget" and "https://github.com/desihub/
-rw-r--r--@ 1 josephkarpinski staff 6148 Sep 16 13:55 .DS_Store -rw-r--r--@ 1 josephkarpinski staff 809 Sep 7 12:08 .coveragerc drwxr-xr-x@ 3 josephkarpinski staff 96 Sep 7 12:08 .github -rw-r--r--@ 1 josephkarpinski staff 775 Sep 7 12:08 .gitignore -rw-r--r--@ 1 josephkarpinski staff 497 Sep 7 12:08 .readthedocs.yml -rw-r--r--@ 1 josephkarpinski staff 1526 Sep 7 12:08 LICENSE.rst -rw-r--r--@ 1 josephkarpinski staff 134 Sep 7 12:08 MANIFEST.in -rw-r--r--@ 1 josephkarpinski staff 1870 Sep 7 12:08 README.rst drwxr-xr-x@ 39 josephkarpinski staff 1248 Sep 7 12:08 bin drwxr-xr-x@ 17 josephkarpinski staff 544 Sep 7 12:08 db drwxr-xr-x@ 12 josephkarpinski staff 384 Sep 7 12:08 doc drwxr-xr-x@ 5 josephkarpinski staff 160 Sep 7 12:08 etc drwxr-xr-x@ 4 josephkarpinski staff 128 Sep 16 10:13 py -rw-r--r--@ 1 josephkarpinski staff 614 Sep 7 12:08 requirements.txt -rw-r--r--@ 1 josephkarpinski staff 846 Sep 7 12:08 setup.cfg -rwxr-xr-x@ 1 josephkarpinski staff 2741 Sep 7 12:08 setup.py (env3114) josephkarpinski@Josephs-iMac desitarget-main % ./setup.py Traceback (most recent call last): File "/Users/josephkarpinski/Downloads/desitarget-main/./setup.py", line 14, in
from desiutil.setup import DesiTest, DesiVersion, get_version
ModuleNotFoundError: No module named 'desiutil'
cd desiutil-main (env3114) josephkarpinski@Josephs-iMac desiutil-main % ls -al total 64 drwxr-xr-x@ 15 josephkarpinski staff 480 Sep 14 13:51 . drwx------@ 380 josephkarpinski staff 12160 Sep 16 13:58 .. drwxr-xr-x@ 3 josephkarpinski staff 96 Sep 14 13:51 .github -rw-r--r--@ 1 josephkarpinski staff 374 Sep 14 13:51 .gitignore -rw-r--r--@ 1 josephkarpinski staff 533 Sep 14 13:51 .readthedocs.yml -rw-r--r--@ 1 josephkarpinski staff 1526 Sep 14 13:51 LICENSE.rst -rw-r--r--@ 1 josephkarpinski staff 57 Sep 14 13:51 MANIFEST.in -rw-r--r--@ 1 josephkarpinski staff 1010 Sep 14 13:51 README.rst drwxr-xr-x@ 10 josephkarpinski staff 320 Sep 14 13:51 bin drwxr-xr-x@ 11 josephkarpinski staff 352 Sep 14 13:51 doc drwxr-xr-x@ 3 josephkarpinski staff 96 Sep 14 13:51 etc drwxr-xr-x@ 3 josephkarpinski staff 96 Sep 14 13:51 py -rw-r--r--@ 1 josephkarpinski staff 102 Sep 14 13:51 pyproject.toml -rw-r--r--@ 1 josephkarpinski staff 3179 Sep 14 13:51 setup.cfg -rwxr-xr-x@ 1 josephkarpinski staff 2200 Sep 14 13:51 setup.py (env3114) josephkarpinski@Josephs-iMac desiutil-main % ./setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
error: no commands supplied
(env3114) josephkarpinski@Josephs-iMac desiutil-main % ./setup.py --help-commands Standard commands: build build everything needed to install build_py "build" pure Python modules (copy to build directory) build_ext build C/C++ extensions (compile/link to build directory) build_clib build C/C++ libraries used by Python extensions build_scripts "build" scripts (copy and fixup #! line) clean clean up temporary files from 'build' command install install everything from build directory install_lib install all Python modules (extensions and pure Python) install_headers install C/C++ header files install_scripts install scripts (Python or otherwise) install_data install data files sdist create a source distribution (tarball, zip file, etc.) register register the distribution with the Python package index bdist create a built (binary) distribution bdist_dumb create a "dumb" built distribution bdist_rpm create an RPM distribution check perform some checks on the package upload upload binary package to PyPI
Extra commands: ptr run unit tests after in-place build (deprecated) pytest run unit tests after in-place build (deprecated) isort Run isort on modules registered in setuptools build_sphinx Build Sphinx documentation compile_catalog compile message catalogs to binary MO files extract_messages extract localizable strings from the project code init_catalog create a new catalog based on a POT file update_catalog update message catalogs from a POT file bdist_wheel create a wheel distribution alias define a shortcut to invoke one or more commands bdist_egg create an "egg" distribution develop install package in 'development mode' dist_info DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory easy_install Find/get/install Python packages editable_wheel DO NOT CALL DIRECTLY, INTERNAL ONLY: create PEP 660 editable wheel egg_info create a distribution's .egg-info directory install_egg_info Install an .egg-info directory for the package rotate delete older distributions, keeping N newest files saveopts save supplied options to setup.cfg or other config file setopt set an option in setup.cfg or another config file test run unit tests after in-place build (deprecated) upload_docs Upload documentation to sites other than PyPi such as devpi
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help
"