Skip to content

Commit 6328ff0

Browse files
authored
Merge pull request #52 from UDST/release-prep
Preparing v1.5.4 release
2 parents 1d32078 + 36d62c9 commit 6328ff0

File tree

15 files changed

+76
-51
lines changed

15 files changed

+76
-51
lines changed

.travis.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ python:
55
- '3.5'
66
- '3.6'
77
- '3.7'
8-
# - '3.8' broken because PyTables binaries aren't available yet
8+
- '3.8'
99

1010
install:
1111
- pip install .
1212
- pip install pytest-cov coveralls pycodestyle
1313
- pip install flask pygments # for server component tests
1414
- bin/build_js_bundle.sh complete
15-
- pip install numpydoc sphinx sphinx_rtd_theme # for building docs
1615
- pip list
1716
- pip show orca
1817

@@ -22,8 +21,3 @@ script:
2221

2322
after_success:
2423
- coveralls
25-
- bin/build_docs.sh
26-
27-
env:
28-
global:
29-
secure: DMQgAnged8quDKf3pTLG6RZVMKhrhZfYSRKaPFJrERXEOuRPJjC4QYG24pdyCV2aOQbSOiF16vSctpDmMfjLDARkhNm8FvYYCOKLkE+4ijQ4vE/uQaHsnosGS/1LOOFGjK0h2dvm4CNJqV1JUhCKeOVe/87GGY2JVBy+NJnsl70=

HISTORY.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
v1.5.4
2+
======
3+
4+
* Support for PyToolz 0.11+
5+
16
v1.5.3
27
======
38

README.rst

Lines changed: 14 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,23 @@
1-
Orca
2-
====
3-
4-
.. image:: https://img.shields.io/pypi/v/orca.svg
5-
:target: https://pypi.python.org/pypi/orca/
6-
:alt: PyPI Latest Version
7-
8-
.. image:: https://travis-ci.org/UDST/orca.svg?branch=master
9-
:target: https://travis-ci.org/UDST/orca
10-
:alt: Build Status
11-
121
.. image:: https://coveralls.io/repos/UDST/orca/badge.svg?branch=master
132
:target: https://coveralls.io/r/UDST/orca?branch=master
143
:alt: Coverage
154

16-
.. image:: https://img.shields.io/pypi/wheel/orca.svg
17-
:target: https://pypi.python.org/pypi/orca/
18-
:alt: Wheel Status
5+
Orca
6+
====
7+
8+
Orca is a Python library for task orchestration. It's designed for workflows like city simulation, where the data representing a model's state is so large that it needs to be managed outside of the task graph.
9+
10+
The building blocks of a workflow are "steps", Python functions that can be assembled on the fly into linear or cyclical pipelines. Steps typically interact with a central data store that persists in memory while the pipeline runs. Derived tables and columns can be updated automatically as base data changes, and pipeline components are evaluated lazily to reduce unnecessary overhead.
1911

20-
Orca is a pipeline orchestration tool that allows you to define dynamic data
21-
sources and explicitly connect them to processing functions.
22-
Orca has many features for working with `Pandas <http://pandas.pydata.org/>`__
23-
data structures, but it can be used with anything.
12+
Orca is used in `UrbanSim <https://github.com/udst/urbansim>`__ and other projects.
2413

25-
Learn more in the official docs at https://udst.github.io/orca/.
14+
Documentation
15+
-------------
2616

27-
Building the Orca UI JS Bundle
28-
------------------------------
17+
- `udst.github.io/orca/ <https://udst.github.io/orca/>`__
2918

30-
Orca ships with a bundle of JavaScript for the server UI.
31-
If you've installed Orca from ``pip`` or ``conda`` you already have the
32-
bundle, but if you're working on Orca you might need to build it manually:
19+
Installation
20+
------------
3321

34-
* Make sure `nodejs <https://nodejs.org/>`__ is installed.
35-
(I use `Homebrew <http://brew.sh/>`__ on my Mac.)
36-
* Install `gulp <http://gulpjs.com/>`__: ``npm install -g gulp``
37-
* Change directories to ``orca/server/static``
38-
* Run ``npm install`` to install dependencies
39-
* Build the bundle: ``gulp js-build``, or
40-
* Watch JS files to rebuild the bundle on changes: ``gulp js-watch``
22+
- ``pip install orca``
23+
- ``conda install orca --channel conda-forge``

docs/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
This folder generates the Orca online documentation, hosted at https://udst.github.io/orca/.
2+
3+
### How it works
4+
5+
HTML files are generated using [Sphinx](http://sphinx-doc.org) and hosted with GitHub Pages from the `gh-pages` branch of the repository. The online documentation is rendered and updated **manually**.
6+
7+
### Editing the documentation
8+
9+
The files in `docs/source`, along with docstrings in the source code, determine what appears in the rendered documentation. Here's a [good tutorial](https://pythonhosted.org/an_example_pypi_project/sphinx.html) for Sphinx.
10+
11+
### Previewing changes locally
12+
13+
Install the copy of Orca that the documentation is meant to reflect. Install the documentation tools.
14+
15+
```
16+
pip install .
17+
pip install sphinx sphinx_rtd_theme numpydoc
18+
```
19+
20+
Build the documentation. There should be status messages and warnings, but no errors.
21+
22+
```
23+
cd docs
24+
sphinx-build -b html source build
25+
```
26+
27+
The HTML files will show up in `docs/build/`.
28+
29+
### Uploading changes
30+
31+
Clone a second copy of the repository and check out the `gh-pages` branch. Copy over the updated HTML files, commit them, and push the changes to GitHub.

docs/build/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*/*
File renamed without changes.

docs/conf.py renamed to docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@
5151

5252
# General information about the project.
5353
project = 'Orca'
54-
copyright = '2019, UrbanSim Inc'
54+
copyright = '2020, UrbanSim Inc'
5555

5656
# The version info for the project you're documenting, acts as replacement for
5757
# |version| and |release|, also used in various other places throughout the
5858
# built documents.
5959
#
6060
# The short X.Y version.
61-
version = '1.5'
61+
version = '1.5.4'
6262
# The full version, including alpha/beta/rc tags.
63-
release = '1.5.3'
63+
release = '1.5.4'
6464

6565
# The language for content autogenerated by Sphinx. Refer to documentation
6666
# for a list of supported languages.
File renamed without changes.
File renamed without changes.

docs/index.rst renamed to docs/source/index.rst

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,16 @@ Orca offers some conveniences for streamlining the construction of pipelines:
119119
Installation
120120
------------
121121

122-
Orca depends on Pandas, PyTables, and toolz (or cytoolz).
123-
Pandas and PyTables are included in `Anaconda <http://docs.continuum.io/anaconda/>`__.
124-
Toolz may be installed with `pip <https://pip.pypa.io/en/latest/index.html>`__,
125-
and both toolz and cytoolz are can be installed by
126-
`conda <http://conda.pydata.org/>`__ (if you are using Anaconda or miniconda).
122+
Orca requires Pandas, PyTables, and PyToolz, which will be installed automatically if they are not already present in your Python environment.
127123

128-
With the dependencies installed, install Orca with pip::
124+
125+
You can install Orca with pip::
129126

130127
pip install orca
131128

132-
Orca may also be installed with conda::
129+
Or with conda::
133130

134-
conda install -c udst orca
131+
conda install orca --channel conda-forge
135132

136133
Add the server option to include the optional server dependencies::
137134

0 commit comments

Comments
 (0)