Skip to content

Commit

Permalink
Merge pull request #34 from sjsrey/setup
Browse files Browse the repository at this point in the history
REL: 2.0.0
  • Loading branch information
sjsrey authored Aug 24, 2018
2 parents 7e435a4 + e704485 commit e13a7f4
Show file tree
Hide file tree
Showing 8 changed files with 987 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ install:
- if "$PYSAL_PLUS"; then conda install --yes numba; fi

script:
- pwd
- ls -al
- python setup.py sdist >/dev/null
- nosetests -v esda;
- python setup.py install
- nosetests --verbose --with-coverage --cover-package=esda;

notifications:
email:
recipients:
- [email protected]
- [email protected]
- [email protected]
on_success: change
on_failure: change

Expand Down
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Changes

Version 2.0.0 (2018-08-24)

We closed a total of 42 issues (enhancements and bug fixes) through 16 pull requests, since our last release on 2017-07-14.

## Issues Closed
- Changing esda setup to handle version programatically (#33)
- port legacy esda fix for 1013 (#12)
- notebook links broken (#29)
- include /tests in release (#32)
- Add tests to release (#27)
- Accounting for incoming API changes to `libpysal` and adding testing against `libpysal`'s master branch (#26)
- no `varnames` in `Moran_BV_matrix` (#22)
- add `.varnames` attribute to `Moran_BV` objects in `Moran_BV_Matrix` results (#23)
- Inconsistent metadata in setup.py (#28)
- Update license (#30)
- esda has no readme (#14)
- Readme added (#25)
- move api into __init__ and remove api (#24)
- `.z` attribute divided by standard deviation (#21)
- offer standardised and non-standardised `.z`, `.x` and `.y` attributes (#20)
- get sjsrey's changes into a release (#16)
- esda's namespace is broken (#17)
- update api.py (#18)
- Update docstrings to use libpysal not pysal (#13)
- esda needs an api.py module (#9)
- chore: Update setup for 3+ (#15)
- Master (#10)
- infrastructure changes (#8)
- I made #5 against the esda branch instead of master (#7)
- bump version and add maintainer (#6)
- use 2to3 (#5)

## Pull Requests
- Changing esda setup to handle version programatically (#33)
- include /tests in release (#32)
- Accounting for incoming API changes to `libpysal` and adding testing against `libpysal`'s master branch (#26)
- add `.varnames` attribute to `Moran_BV` objects in `Moran_BV_Matrix` results (#23)
- Update license (#30)
- Readme added (#25)
- move api into __init__ and remove api (#24)
- `.z` attribute divided by standard deviation (#21)
- get sjsrey's changes into a release (#16)
- update api.py (#18)
- Update docstrings to use libpysal not pysal (#13)
- chore: Update setup for 3+ (#15)
- Master (#10)
- infrastructure changes (#8)
- I made #5 against the esda branch instead of master (#7)
- use 2to3 (#5)

The following individuals contributed to this release:

- Serge Rey
- Wei Kang
- Levi John Wolf
- Stefanie Lumnitz
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
New BSD License
BSD 3-Clause License

Copyright 2018 PySAL Developers

Expand Down
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include LICENSE.txt CHANGELOG.md MANIFEST.in requirements_dev.txt requirements.txt

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ If you are having issues, please talk to us in the [gitter room](https://gitter.
License
-------

The project is licensed under the [BSD license](https://github.com/pysal/pysal/blob/master/LICENSE.txt).
The project is licensed under the [BSD license](https://github.com/pysal/esda/blob/master/LICENSE).

Funding
-------
Expand Down
64 changes: 64 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
Exploratory Spatial Data Analysis (esda) in PySAL
=================================================

.. image:: https://travis-ci.org/pysal/esda.svg
:target: https://travis-ci.org/pysal/esda

.. image:: https://badges.gitter.im/pysal/pysal.svg
:target: https://gitter.im/pysal/pysal


Methods for testing for global and local autocorrelation in areal unit
data.

************
Installation
************

Install esda by running:

::

$ pip install esda

************
Requirements
************

- libpysal

**********
Contribute
**********

PySAL-esda is under active development and contributors are welcome.

If you have any suggestion, feature request, or bug report, please open
a new `issue <https://github.com/pysal/esda/issues>`__ on GitHub. To
submit patches, please follow the PySAL development
`guidelines <http://pysal.readthedocs.io/en/latest/developers/index.html>`__
and open a `pull request <https://github.com/pysal/esda>`__. Once your
changes get merged, you’ll automatically be added to the `Contributors
List <https://github.com/pysal/esda/graphs/contributors>`__.

*******
Support
*******

If you are having issues, please talk to us in the `gitter
room <https://gitter.im/pysal/pysal>`__.

*******
License
*******

The project is licensed under the `BSD
license <https://github.com/pysal/esda/blob/master/LICENSE>`__.

*******
Funding
*******

NSF Award #1421935 `New Approaches to Spatial Distribution
Dynamics <https://www.nsf.gov/awardsearch/showAward?AWD_ID=1421935>`__

8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

from distutils.command.build_py import build_py

with open('README.rst', 'r', encoding='utf8') as file:
long_description = file.read()

# Get __version__ from giddy/__init__.py without importing the package
# __version__ has to be defined in the first line
with open('esda/__init__.py', 'r') as f:
Expand All @@ -11,9 +14,10 @@
setup(name='esda', # name of package
version=__version__,
description='Package with statistics for exploratory spatial data analysis',
long_description=long_description,
url='https://github.com/pysal/esda',
maintainer='Sergio Rey',
maintainer_email='[email protected]',
maintainer='Sergio Rey, Wei Kang',
maintainer_email='[email protected], [email protected]',
test_suite='nose.collector',
py_modules=['esda'],
python_requires='>3.4',
Expand Down
Loading

0 comments on commit e13a7f4

Please sign in to comment.