Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
0.3-incubating
-
None
Description
After seeing the following presentation at my local Python User Group:
http://slid.es/edwardliaw/python-packaging
I started thinking of all the ways that OCW's setup.py can be used to make it easier for new users to make use of the OCW CLI and WebApp.
The goal for this issue is having a setup.py where a user can download the source code and run:
$ python setup.py install
That will install ocw into their python's location for 3rd party libs, meaning people can write python programs that can simply import ocw.
The other goal is to enable users to also run common commands as scripts on their machine without worrying about being in the 'right location'.
The two scripts I want to add in are:
ocw_ui # Launches the WebApp
ocw_cli # Launches the Command Line Interface
Documentation on how to perform these actions will also be part of this JIRA, and will be added to the CLIMATE wiki page.