Skip to main content

"Script to set up a Coq project dependencies using opam, inspired by Haskell's stack."

Project description

Coq-config

Simple script to set up a Coq project dependencies using opam. Inspired by Haskell's stack.

Documentation

Reads coq_config.yaml file and set up am opam switch and install required packages.

Optionally checks out some sub-projects from git (an alternative to using sub-modules).

Notes

  • It is safe to run multiple times.
  • The opam packages where the version numer was specified, will be pinned, so it is safe to do opam update aftewards.
  • You will need to activate opam switch specified in config with opam switch command. The script does not change current active switch for you.
  • Tested with opam verson 2.0.5.

To-Do

  • Run opam init if necessary
  • If switch exists, check if the right compiler is used and update if necessary.
  • When adding repositories, check their URLs, not just names. It they do not match the config - report error.
  • Run coq-config for all extra-deps
  • When re-running, make sure pinned version removed or updated if changed.

Installation

The easiets way to install is using pip:

pip install coq-config

Manual install

To run from local clone of git repository install dependencies (using pip):

  • click
  • pyyaml
  • cerberus

Contact

For bugs reports, contributions and source code visit project page on github.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coq-config-0.0.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coq_config-0.0.2-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file coq-config-0.0.2.tar.gz.

File metadata

  • Download URL: coq-config-0.0.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for coq-config-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a4d88abe5c7a4bad7d958aaa174f9e83010d4130fd4a45ad9e4e8f05cdd3542a
MD5 4c6f9694106a9bf002d493b952d63d9f
BLAKE2b-256 770d59e30eebe8f864c9f71c0a8ddaf98deea215ff95071e51aa5048d94506fc

See more details on using hashes here.

File details

Details for the file coq_config-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: coq_config-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for coq_config-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6ed80dd8512e63b1bd2ea21cfd10d8ddf755d592be10abb0624dececa2871a0
MD5 93fda3a1ac22643936d563228e7ef67d
BLAKE2b-256 10ac271275e52b1eec241454179a7a216ec77362d2e02c88854f25a850ca3351

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page