pip2Spack
Automatically create and update a spack package base on the pypi.org information.
Cons:
- Faster package creation than using the default option
spack create - Automatic updating of existing packages with information contained on pypi.org
TL;DR
// install
pip install pip2spack
// create new one
pip2spack create jsl
// update a internal (bultin) package
pip2spack update codecov
// download latest package locally
pip2spack download jsl codecov
Installation
Later, the package will be added into pypi repository.
pip install pip2spack
Build
To build a .whl package
pip install setuptools wheel twine
python setup.py sdist bdist_wheel
Than go to dist directory and type
pip install pip2spack-1.0-py3-none-any.whl
Run
Before you run the script download a spack and export SPACK_ROOT.
Create a new package
To run a script, provide a package names:
pip2spack create {package_names_for_convert}
Example for creation one new package:
pip2spack create jsl
you can also create more than one in single run:
pip2spack create jsl codecov
Updating existing packages (builtin)
Since v0.2, pip2spack is able to update builtin packages to newest version base on the pypi.org information.
No more adding a new version thru Spack's Pull Requests!
Example:
pip2spack update codecov
Notice: You can not to create and update packages at once. These operations are separated (in actual version)
Downloading a newest packages locally
Since v1.1, pip2spack is able to download latest .tar.gz/.whl package locally, using download command
Example:
pip2spack download jsl codecov
Packages will be stored at the temp directory (depends on the OS), proper information wit storage place will be displayed.
Metadata
Release files for pip2spack 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pip2spack-1.4.1.tar.gz | 39.0 kB | Without provenance | Details for pip2spack-1.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pip2spack-1.4.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for pip2spack-1.4.1-py2.py3-none-any.whl |
Total release size: 83.8 kB
Release files / pip2spack-1.4.1.tar.gz
| Download URL | pip2spack-1.4.1.tar.gz |
|---|---|
| Size | 39.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38a9c6e04c9344be6d308214d99c57e3586e3b482037cc7d4a692280c1543dbe
|
|
BLAKE2b-256 checksum How to use checksums |
384f8b17084af5419ddcf801d035896b48481d9aa6b3ff844a10f3b8ec55276d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Release files / pip2spack-1.4.1-py2.py3-none-any.whl
| Download URL | pip2spack-1.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9c336e12820cb9b812a3249692e72470156b122cb717beeafa024dc5013519c7
|
|
BLAKE2b-256 checksum How to use checksums |
661e71d7534e9e5e329d7ed4c6345cb19cc6fc629cd78ffbe5798a8b3a76f229
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.9
|
Security for pip2spack 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.