You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Cameron Goodale (JIRA)" <ji...@apache.org> on 2014/03/09 04:58:42 UTC

[jira] [Work started] (CLIMATE-383) Add 'scripts' to the setup.py to support ocw-ui, and ocw-cli

     [ https://issues.apache.org/jira/browse/CLIMATE-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on CLIMATE-383 started by Cameron Goodale.

> Add 'scripts' to the setup.py to support ocw-ui, and ocw-cli
> ------------------------------------------------------------
>
>                 Key: CLIMATE-383
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-383
>             Project: Apache Open Climate Workbench
>          Issue Type: Improvement
>          Components: build process, command line interface, webapp
>    Affects Versions: 0.3-incubating
>            Reporter: Cameron Goodale
>            Assignee: Cameron Goodale
>             Fix For: 0.4
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 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:
> {code}
> $ python setup.py install
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)