Metadata-Version: 2.1
Name: pySpack
Version: 0.2
Summary: Python wrapper for few Spack's commands
Home-page: https://github.com/NexSabre/pySpack
Author: Nex Sabre
Author-email: nexsabre@protonmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# pySpack
Python wrapper for few Spack's commands 

## TLDR;
Before use, be sure that you've got a exported `SPACK_ROOT`

```python
from pySpack import PySpack

if __name__ == "__main__":
    spack = PySpack()
    spack.install('py-json5')       # spack install py-json5 -> return bool 
    spack.find('py-json5')          # spack find py-json5 -> return bool
    spack.is_installable('py-json5')# spack list py-json5 -> return bool if package is available to install 
    spack.uninstall('py-json5')     # spack uninstall py-json5 -> return bool 
```

## Known issues

### First installation take a lot of the time
First, try of installation any package will trigger the additional download and build of the dependencies -- yes, it can take a lot of time... 

### Error: Spack could not find any compilers!
Message: `==> Error: Spack could not find any compilers!`

Solution: Regarding to the https://spack.readthedocs.io/en/latest/getting_started.html, install additional dependencies


