-
Notifications
You must be signed in to change notification settings - Fork 36
Installation
Gensollen edited this page May 9, 2018
·
1 revision
Stable release
To install the latest version of ditto from master for development, run this command in your terminal after changing your directory to the folder where you'd like to set up the development:
$ pip install git+https://github.com/NREL/ditto.git@master#egg=ditto
To install the latest version of ditto from master for usage, run this command in your terminal:
$ pip install git+https://github.nrel.gov/NREL/ditto.git@master
To install a specific stable version:
$ pip install git+https://github.com/NREL/[email protected]
The above are the preferred methods to install ditto, as it will always install the most recent stable release.
From sources
The sources for ditto can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/NREL/ditto
Or download the tarball:
$ curl -OL https://github.com/NREL/ditto/tarball/master
Once you have a copy of the source, you can install it with:
$ pip install -e .
OR
$ python setup.py install # not recommended