-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from UDST/develop
Finalizing Pandana v0.5 release
- Loading branch information
Showing
38 changed files
with
1,802 additions
and
797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
Thanks for using Pandana! | ||
|
||
This is an open source project that's part of the Urban Data Science Toolkit. Development and maintenance is a collaboration between UrbanSim Inc, U.C. Berkeley's Urban Analytics Lab, and other contributors. | ||
|
||
You can contact Sam Maurer, the lead maintainer, at `[email protected]`. | ||
|
||
|
||
## If you have a problem: | ||
|
||
- Take a look at the [open issues](https://github.com/UDST/pandana/issues) and [closed issues](https://github.com/UDST/pandana/issues?q=is%3Aissue+is%3Aclosed) to see if there's already a related discussion | ||
|
||
- Open a new issue describing the problem -- if possible, include any error messages, the operating system and version of python you're using, and versions of any libraries that may be relevant | ||
|
||
|
||
## Feature proposals: | ||
|
||
- Take a look at the [open issues](https://github.com/UDST/pandana/issues) and [closed issues](https://github.com/UDST/pandana/issues?q=is%3Aissue+is%3Aclosed) to see if there's already a related discussion | ||
|
||
- Post your proposal as a new issue, so we can discuss it (some proposals may not be a good fit for the project) | ||
|
||
|
||
## Contributing code: | ||
|
||
- Create a new branch of `UDST/pandana`, or fork the repository to your own account | ||
|
||
- Make your changes, following the existing styles for code and inline documentation | ||
|
||
- Add [tests](https://github.com/UDST/urbansim/tree/master/pandana/tests) if possible! | ||
|
||
- Open a pull request to the `UDST/pandana` dev branch, including a writeup of your changes -- take a look at some of the closed PR's for examples | ||
|
||
- Current maintainers will review the code, suggest changes, and hopefully merge it! | ||
|
||
|
||
## Updating the documentation: | ||
|
||
- See instructions in `docs/README.md` | ||
|
||
|
||
## Preparing a release: | ||
|
||
- Make a new branch for release prep | ||
|
||
- Update the version number and changelog | ||
- `CHANGELOG.md` | ||
- `setup.py` | ||
- `pandana/__init__.py` | ||
- `docs/source/index.rst` | ||
|
||
- Make sure all the tests are passing, and check if updates are needed to `README.md` or to the documentation | ||
|
||
- Open a pull request to the master branch to finalize it | ||
|
||
- After merging, tag the release on GitHub and follow the distribution procedures below | ||
|
||
|
||
## Distributing a release on PyPI (for pip installation): | ||
|
||
- Register an account at https://pypi.org, ask one of the current maintainers to add you to the project, and `pip install twine` | ||
|
||
- Check out the copy of the code you'd like to release | ||
|
||
- Run `python setup.py sdist` | ||
|
||
- This should create a `dist` directory containing a gzip package file -- delete any old ones before the next step | ||
|
||
- Run `twine upload dist/*` -- this will prompt you for your pypi.org credentials | ||
|
||
- Check https://pypi.org/project/pandana/ for the new version | ||
|
||
|
||
## Distributing a release on Conda Forge (for conda installation): | ||
|
||
- The [conda-forge/pandana-feedstock](https://github.com/conda-forge/pandana-feedstock) repository controls the Conda Forge release | ||
|
||
- Conda Forge bots usually detect new releases on PyPI and set in motion the appropriate feedstock updates, which a current maintainer will need to approve and merge | ||
|
||
- Check https://anaconda.org/conda-forge/pandana for the new version (may take a few minutes for it to appear) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
This folder generates the Pandana online documentation, hosted at https://udst.github.io/pandana/. | ||
|
||
### How it works | ||
|
||
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**. | ||
|
||
### Editing the documentation | ||
|
||
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. | ||
|
||
### Previewing changes locally | ||
|
||
Install the copy of Pandana that the documentation is meant to reflect. Install the documentation tools. | ||
|
||
``` | ||
pip install . | ||
pip install sphinx sphinx_rtd_theme numpydoc | ||
``` | ||
|
||
Build the documentation. There should be status messages and warnings, but no errors. | ||
|
||
``` | ||
cd docs | ||
sphinx-build -b html source build | ||
``` | ||
|
||
The HTML files will show up in `docs/build/`. | ||
|
||
### Uploading changes | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.* |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Empty file.
Oops, something went wrong.