-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documentation edits and setup.py cleanup
- Loading branch information
Showing
4 changed files
with
85 additions
and
37 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
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 |
---|---|---|
|
@@ -16,7 +16,23 @@ | |
QUALIFIER = '' | ||
|
||
|
||
FULL_DESCRIPTION = """ | ||
DISTNAME = 'xray' | ||
LICENSE = 'Apache' | ||
AUTHOR = 'Stephan Hoyer, Alex Kleeman, Eugene Brevdo' | ||
AUTHOR_EMAIL = '[email protected]' | ||
URL = 'https://github.com/akleeman/xray' | ||
CLASSIFIERS = [ | ||
'Development Status :: 3 - Alpha', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Operating System :: OS Independent', | ||
'Intended Audience :: Science/Research', | ||
'Programming Language :: Python :: 2.7', | ||
'Topic :: Scientific/Engineering', | ||
] | ||
|
||
|
||
DESCRIPTION = "Extended arrays for working with scientific datasets in Python" | ||
LONG_DESCRIPTION = """ | ||
**xray** is a Python package for working with aligned sets of | ||
homogeneous, n-dimensional arrays. It implements flexible array | ||
operations and dataset manipulation for in-memory datasets within the | ||
|
@@ -39,7 +55,7 @@ | |
dimensions (known in numpy as "broadcasting") based on dimension | ||
names, regardless of their original order. | ||
- Flexible split-apply-combine operations with groupby: | ||
``x.groupby('time.dayofyear').apply(lambda y: y - y.mean())``. | ||
``x.groupby('time.dayofyear').mean()``. | ||
- Database like aligment based on coordinate labels that smoothly | ||
handles missing values: ``x, y = xray.align(x, y, join='outer')``. | ||
- Keep track of arbitrary metadata in the form of a Python dictionary: | ||
|
@@ -57,12 +73,11 @@ | |
a numpy ``ndarray`` or a pandas ``DataFrame`` or ``Series``, providing | ||
compatibility with the full `PyData ecosystem <http://pydata.org/>`__. | ||
For a longer introduction to **xray**, see the project's README on GitHub_. | ||
.. _GitHub: https://github.com/akleeman/xray | ||
For more about **xray**, see the project's `GitHub page | ||
<https://github.com/akleeman/xray>`__ and `documentation | ||
<http://xray.readthedocs.org>`__ | ||
""" | ||
|
||
|
||
# code to extract and write the version copied from pandas, which is available | ||
# under the BSD license: | ||
FULLVERSION = VERSION | ||
|
@@ -130,14 +145,14 @@ def write_version_py(filename=None): | |
write_version_py() | ||
|
||
|
||
setup(name='xray', | ||
setup(name=DISTNAME, | ||
version=FULLVERSION, | ||
description='Extended arrays for working with scientific datasets in Python', | ||
full_description=FULL_DESCRIPTION, | ||
author='Stephan Hoyer, Alex Kleeman, Eugene Brevdo', | ||
author_email='TODO', | ||
description=DESCRIPTION, | ||
long_description=LONG_DESCRIPTION, | ||
author=AUTHOR, | ||
author_email=AUTHOR_EMAIL, | ||
install_requires=['numpy >= 1.8', 'pandas >= 0.13.1'], | ||
tests_require=['mock >= 1.0.1', 'nose >= 1.0'], | ||
url='https://github.com/akleeman/xray', | ||
url=URL, | ||
test_suite='nose.collector', | ||
packages=['xray', 'xray.backends']) |